Re: NIS
In article <cistron.199810142151.XAA00758@zara21.jct.ac.il>,
Alex Shnitman <shnitman@mail.debian.org> wrote:
>Is anyone using NIS with hamm? I'm trying to set it to work against a
>Solaris NIS server and it doesn't work. I've got everything up to the
>point that "ypcat passwd" indeed cats all the passwd file from the NIS
>server (with the passwords replaced with "##username").
That means the Sun uses yet another way of shadow passwords: the
shadow.adjunct file. GNU libc supports this I think, but you have to use
a libc6 from slink. I've never tried it ofcourse, but the ChangeLog says:
1998-07-06 12:04 Ulrich Drepper <drepper@cygnus.com>
* nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
password scheme.
(_nss_nis_getpwnam_r): Likewise.
(_nss_nis_getpwuid_r): Likewise.
>I suspect it has something to do with the way shadow passwords work in
>Solaris and in Linux. However, on an adjacent Slackware box it works
>flawlessly. What can be the problem?
Is the output of "ypcat passwd" the same? Does the Slackware box
run libc5, libc6, what version etc?
>I tried to upgrade to the latest nis distribution from slink (and it
>took the libc along with it) but it did not help.
Can you do "ypcat passwd.adjunct" (as root!) ? Perhaps you need to
fiddle with /etc/nsswitch.conf
Mike.
--
"Did I ever tell you about the illusion of free will?"
-- Sheriff Lucas Buck, ultimate BOFH.
Reply to:
- Follow-Ups:
- Re: NIS
- From: Alex Shnitman <alexsh@linux.org.il>
- References:
- NIS
- From: Alex Shnitman <shnitman@mail.debian.org>