On Thu, 8 Aug 2002, Hanspeter Roth wrote:
[snipped for brevity]
>
> > [root@urchin /etc]# ypmatch dsilver passwd
> > dsilver:X:1000:1000:Hockey Nut, Penalty Box:/home/dsilver:/bin/tcsh
>
> Is user dsilver also in the local passwd or only in the NIS map?
>
> What does exactly not work?
> Do you have a hosts map? Does it work?
>
> Solaris has an /etc/nsswitch.conf. But I don't know which is the
> FreeBSD equivalence.
>
> -Hanspeter
My uid (dsilver) is only in the NIS map. All the maps (passwd, groups,
hosts, netgroup) show up, but I can't actually login to the machine. FBSD
doesn't use nsswitch.conf -- it looks in the master.passwd file for the
"+" entry for checking NIS.
(From another email)
> > After upgrading a 4.4-STABLE machine to 4.6-STABLE, NIS is not
> > working. The NIS master is a solaris box, however nothing else has
>
> Could it have something to do with lib*crypt* links?
> Mine seem to be set anew at last update:
> lrwxr-xr-x 1 root wheel 13 Aug 3 20:32 /usr/lib/libcrypt.so -> libcrypt.so.2
> lrwxr-xr-x 1 root wheel 14 Aug 3 20:38 /usr/lib/libcrypto.so ->
>libcrypto.so.2
Possibly, I'm not sure. The libcrypt libraries were rebuilt, but not
libcrypto because I installed the OpenSSL port into /usr/local/lib.
However, ypbind isn't linked to that:
# ll /usr/lib/libcrypt*so*
lrwxr-xr-x 1 root wheel 13 Aug 2 13:51 /usr/lib/libcrypt.so@ -> libcrypt.so.2
-r--r--r-- 1 root wheel 11532 Aug 2 13:51 /usr/lib/libcrypt.so.2
lrwxr-xr-x 1 root wheel 14 Mar 28 17:42 /usr/lib/libcrypto.so@ -> libcrypto.so.2
-r--r--r-- 1 root wheel 769460 Mar 28 17:42 /usr/lib/libcrypto.so.2
# ll /usr/local/lib/libcrypt*so*
lrwxr-xr-x 1 root wheel 14 Aug 2 14:43 /usr/local/lib/libcrypto.so@ ->
libcrypto.so.3
-r--r--r-- 1 root wheel 849578 Aug 2 14:43 /usr/local/lib/libcrypto.so.3
# ldd /usr/sbin/ypbind
/usr/sbin/ypbind:
libc.so.4 => /usr/lib/libc.so.4 (0x28069000)
# ldd /usr/bin/passwd
/usr/bin/passwd:
libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x2806c000)
librpcsvc.so.2 => /usr/lib/librpcsvc.so.2 (0x28070000)
libutil.so.3 => /usr/lib/libutil.so.3 (0x28078000)
libc.so.4 => /usr/lib/libc.so.4 (0x28081000)
# ldd /usr/local/sbin/sshd
/usr/local/sbin/sshd:
libwrap.so.3 => /usr/lib/libwrap.so.3 (0x280a9000)
libpam.so.1 => /usr/lib/libpam.so.1 (0x280b1000)
libutil.so.3 => /usr/lib/libutil.so.3 (0x280bb000)
libz.so.2 => /usr/lib/libz.so.2 (0x280c4000)
libcrypto.so.3 => /usr/local/lib/libcrypto.so.3 (0x280d1000)
libc.so.4 => /usr/lib/libc.so.4 (0x28185000)
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Doug Silver
Network Manager
Urchin Software Corp. http://www.urchin.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message