Subject: Re: crypt in 1.3.2 returning different/bad results vs. 1.2.1
To: Gerald C. Simmons <email@example.com>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 07/21/1998 11:23:35
On Jul 20, Gerald C. Simmons wrote
> Why would a call to crypt for password authentication in an application,
> return matching results in NetBSD 1.2.1, and mismatching results in 1.3.2,
> even when the app is re-built under 1.3.2.
> crypt(pwd)=XQxQcWeBlFZkg doesn't match XQtYIu1Gtv6fY
> ^ ^
> | |
> returned from crypt for password given |
> returned from crypt for user simmons -------/
> Also, XQtYIu1Gtv6fY is what shows for simmons using vipw.
> Again, this works under NetBSD-1.2.1
Could'nt this be a difference between domestic and exportable versions of
crypt ? I guess if crypt would really be different between 1.2 and 1.3, there
would have been big problems with passwd files at upgrade time.
How long is you passwd ? did you try with a different passwd ?
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr