Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jun 1999 09:18:21 -0400
From:      Robert Beer <r-beer@onu.edu>
To:        Andreas Kreuzinger <kreuzing@dbai.tuwien.ac.at>, Thierry Herbelot <Thierry.Herbelot@alcatel.fr>
Cc:        freebsd-questions@FreeBSD.ORG, Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Subject:   Re: authentication for nis-user fails, only local user can login
Message-ID:  <l03130382b37c2feeb91d@[140.228.15.35]>
In-Reply-To:  <Pine.GSO.4.10.9906031451400.7208-100000@alphard.dbai.tuwien.ac.at>
References:  <37553C64.58CD5908@telspace.alcatel.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
At 9:02 AM -0400 6/3/1999, Andreas Kreuzinger wrote:
>I think the problem is not the nis system. It's the password encryption
>that get me in troubles.
>But I don't know how to locate the problem.

You can do two things.  Take a look at /etc/master.passwd and if the encrypted passwords start with $1 you are using MD5  style encryption.  Additionally take a look at the output of:

	ls -l /usr/lib/*crypt* 

This will show you what crypt functions are being used.  For DES the output will look like:

lrwxrwxrwx  1 root  bin     13 Dec 31 13:07 /usr/lib/libcrypt.a -> libdescrypt.a
lrwxrwxrwx  1 root  bin     18 Dec 31 13:07 /usr/lib/libcrypt.so.2.0 -> libdescr
ypt.so.2.0
lrwxrwxrwx  1 root  bin     15 Dec 31 13:07 /usr/lib/libcrypt_p.a -> libdescrypt
_p.a
-r--r--r--  1 bin   bin  10706 Nov 30  1998 /usr/lib/libdescrypt.a
-r--r--r--  1 bin   bin  16698 Nov 30  1998 /usr/lib/libdescrypt.so.2.0
-r--r--r--  1 bin   bin  12378 Nov 30  1998 /usr/lib/libdescrypt_p.a
-r--r--r--  1 bin   bin   4560 Nov 30  1998 /usr/lib/libscrypt.a
-r--r--r--  1 bin   bin  12579 Nov 30  1998 /usr/lib/libscrypt.so.2.0
-r--r--r--  1 bin   bin   5048 Nov 30  1998 /usr/lib/libscrypt_p.a

Note especially the links.

---
Bob Beer <r-beer@onu.edu>
Ohio Northern University, Academic Computer Services, Ada, OH  45810




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l03130382b37c2feeb91d>