[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NIS+netgroups and RedHat 5.2
Ariel Biener writes:
> > > I am having problems convincing RedHat 5.2 to behave the way all other
> > > Unix machines behave, when NIS is concerned.
> >
> > I had the exact same problem in college a couple of months ago. What's
> > the OS of the NIS server? Is it SunOS by any chance?
>
> The NIS master is SunOS. I am bound against one of the NIS slaves, Solaris
> 2.6.
Wonderful. When I stumbled against that problem, I went to search
DejaNews, and found someone asking the exact same question. There was
no good answer on DejaNews though, so I e-mailed the guy who asked the
question and asked him whether he solved the problem somehow. He did,
and the solution is a slight modification and rebuild of a tiny part
of glibc, namely libnss_nis.so. Here's what he wrote me:
Hello Alex,
yes, I got the problem solved by Thomas Kukuk, a Linux-NIS-Guru.
There are 3 errors in the glibc2 NIS-Source.
The fix is easy and simple: In libc/nis/nss_nis/nis-pwd.c
you have to change all 3 appearences of
encrypted != NULL
inside an if-clause to
encrypted == NULL .
Maybe You have a version, where 2 of them are already fixed.
In the newer versions of glibc2 this problem should already be fixed.
We don't have the problem with the Linux-NIS-client anymore.
Perhaps You can give me a note, if it works for You, too.
Greetings
Thomas
--
-------------------------------------------------------------------------------
Thomas Leineweber
email: leineweb@ls6.informatik.uni-dortmund.de
-------------------------------------------------------------------------------
--
Alex Shnitman
alexsh@linux.org.il UIN 188956
http://members.xoom.com/alexsh -- PGP key here
http://www.debian.org -- and the OS here