Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jun 1999 22:06:23 +0200 (MET DST)
From:      Andreas Kreuzinger <kreuzing@dbai.tuwien.ac.at>
To:        Robert Beer <r-beer@onu.edu>
Cc:        Thierry Herbelot <Thierry.Herbelot@alcatel.fr>, 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:  <Pine.GSO.4.10.9906032201200.10540-100000@alphard.dbai.tuwien.ac.at>
In-Reply-To: <l03130382b37c2feeb91d@[140.228.15.35]>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi !

On Thu, 3 Jun 1999, Robert Beer wrote:

> 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:

No, they don't start with $1.

> 	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.

As I wrote in my first mail, the links libcrypt* point to libdescrypt*.
So it seems to use des.

Any other hints?

cu andy



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?Pine.GSO.4.10.9906032201200.10540-100000>