I think I have run into this problem in the past but in a different way. I found some upgrade processes would fail and a strace pointed to libnss_nis.o. To work around it I would temporally remove the nis entry from my/etc/nsswitch.conf file.
My problems have cleared up over the past year. I attributed them to bugs in libnss_nis. I have not run into your specific problem. I seldom reference UID's that are not in my NIS system or in the local /etc/password file. Good luck, Steve Herber [EMAIL PROTECTED] work: 206-221-7262 Security Engineer, UW Medicine, IT Services home: 425-454-2399 On Wed, 26 Oct 2005, Weicheng Pan wrote:
Hi all: I meet a very strange problem on my NIS. I test two cases, which one is a Gentoo i386 box, and the other is Gentoo AMD64 box. I referenced this page: http://www.linux-nis.org/nis-howto/HOWTO/settingup_client.html , and can successfully login. But when my directory has unknown UID on AMD64 box, it will return a SEGMENTATION FAULT error. Then I use the following code to verify the client settings: Finally, I found that getpwnam() call will cause segmentation fault rather than return NULL on pass a non-exist username on AMD64 box. Is anybody has encounter this situation? Regards, Weicheng. -- [email protected] mailing list
-- [email protected] mailing list
