Subject: re: problem with NIS/YP and myusername_full()

From: "Doug Royer [N6AAW]" <[email-masked]>
Date: Tue, 18 Aug 1998 13:13:04 -0700 (PDT)

Check the /etc/nsswitch.conf file if on Solaris (man nsswitch.conf).
If not on Solaris, there should be a configuration file that comes
with the OS or NIS.

getpwnam() and getpwuid() use NIS/YP if the configuration file is correct.

-Doug
-------------------------------------------------------------------
[email-masked]		http://www.royer.com/dougr.html
801 W. El Camino #131		Work:   (650)786-7599
Mountain View, CA 94040		Ham Radio: N6AAW, Aviation: PP-ASEL

> Date: Tue, 18 Aug 1998 12:58:59 -0700 (PDT)
> From: Mark Crispin <[email-masked]>
> To: Karsten Ballueder <[email-masked]>
> Cc: [email-masked]
> Subject: re: problem with NIS/YP and myusername_full()
> X-Sender: Mark Crispin <[email-masked]>
> X-Listprocessor-Version: 8.1 beta -- ListProcessor(tm) by CREN
> 
> On Tue, 18 Aug 1998 12:37:41 +0100 (BST), Karsten Ballueder wrote:
> > I found that after upgrading to 4.2 the c-client library would trigger
> > an abort() on linux systems using yellow pages.
> >
> > The mysuername_full() function fails looking up the username, which,
> > of course, cannot be found in the local password file.
> >
> > Is there any fix for this?
> 
> You may need to rebuild your c-client based software to get correct versions
> of the getpwnam() and getpwuid() libraries that consult Yellow Pages.  Contact
> your operating system and/or C compiler vendor for assistance.
> 
> We don't use Yellow Pages here (an excellent management decision for a number
> of reasons), but in any case YP is supposed to be drop-in compatible.