CVS update: samba/source/auth
abartlet at samba.org
abartlet at samba.org
Sat Sep 28 23:29:51 EST 2002
Date: Sat Sep 28 13:29:51 2002
Author: abartlet
Update of /data/cvs/samba/source/auth
In directory dp.samba.org:/tmp/cvs-serv11382/auth
Modified Files:
pass_check.c
Log Message:
Second stab at Volker's 'make shadow passwords work' patch.
Basicly, the password and the salt must be taken from the same place in both
passwd and shadow based systems. Taking salt from one, and password from the
other just doesn't work.
So pull them from passwd, then overwrite them if need be.
When modifying this file, watch the #ifdef hell - as vl found out, some
variables are globals - but only with #ifndef WITH_PAM, and the code jumps all
over the place with the password cracker.
Getting double-reviews of any change to this file highly advised, it is one of
our most system-specifc areas of code.
(So now I get to take the blame for this one... :-)
Andrew Bartlett
Revisions:
pass_check.c 1.34 => 1.35
http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/pass_check.c?r1=1.34&r2=1.35
More information about the samba-cvs
mailing list