Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Henk Markson <henk@zurich.sgi.com>
To: "Knut Helleb�" <Knut.Hellebo@nho.hydro.com>
Subject: Re: NIS problems
Date: 1997/11/28	[thread overview]
Message-ID: <347EA807.167E@zurich.sgi.com> (raw)
In-Reply-To: 347E03FD.227A1865@nho.hydro.com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1962 bytes --]


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
----------------------------------



  reply	other threads:[~1997-11-28  5:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-28  5:00 NIS problems Knut Hellebø
1997-11-28  5:00 ` Henk Markson [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-08-25  4:00 PAUL D. CHAPIN
1995-08-26  4:00 ` Mike Iglesias
1995-08-28  4:00   ` Hamish Marson
1995-08-29  4:00     ` PAUL D. CHAPIN
1993-12-09 14:31 NIS Problems Thomas Ertl
1993-12-09 16:41 ` Victor J. Martinez x6463
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox