From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10872d,33cb75a4f373424e X-Google-Attributes: gid10872d,public X-Google-Thread: fee84,33cb75a4f373424e X-Google-Attributes: gidfee84,public From: Henk Markson Subject: Re: NIS problems Date: 1997/11/28 Message-ID: <347EA807.167E@zurich.sgi.com>#1/1 X-Deja-AN: 293373715 References: <347E03FD.227A1865@nho.hydro.com> To: "Knut Helleb�" Organization: Silicon Graphics S.A. Newsgroups: comp.sys.sgi.admin,comp.unix.osf.osf1 This is bug #518917. The NIS client code has an historical limit of 1600 bytes on any NIS request, so ypwhich fails to decode any packet larger than that. You'd need to built a libc which uses (fe.)4096 byte buffers for NIS requests. This increases the yp buffer size to 4096. None of the getXbyY calls use this code any longer so this will only have an effect on applications which directly use the yp library routines. Knut Helleb� wrote: > > Regards, > > We have the following problem: > > "ypwhich -m" returns with the following 'funny' message: > > ypwhich(v2dumpmaps): can't get maplist: Can't decode result > > This error shows up on IRIX (5.3,6.2,6.3,6.4), Dec Unix (3.2c,4.0[BC]), > SunOS 4.1.x and AIX 3.2.5. AIX 4.x and Solaris 2.5.x seems to be OK. > We saw similar errors on a Solaris 2.5.1 box, but a 'ulimit -n 256' did > the trick (ie increased the number of filedescriptors). We suspect that > the error is caused by a large number of maps or fewer maps having long > names. It is possible that the total number of bytes transferred from > the server to the client issuing the ypwhich call will exceed some limit > or that the client is not capable of reassembling a maplist that arrives > in more than one packet. > > Can anyone enlighten me here, please ? > -- > > ****************************************************************** > * Knut Helleb� | DAMN GOOD COFFEE !! * > * Norsk Hydro a.s | (and hot too) * > * Phone: +47 55 996870, Fax: +47 55 996495 | * > * Cellular Phone: +47 93092402 | * > * E-mail: Knut.Hellebo@nho.hydro.com | Dale Cooper, FBI * > ****************************************************************** -- ---------------------------------- Henk Markson Silicon Graphics AG Support Zurich ----------------------------------