In article <[EMAIL PROTECTED]>, Alex Shnitman <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> * 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.