CVS update: samba/source/auth
abartlet at samba.org
abartlet at samba.org
Tue Feb 5 20:40:36 EST 2002
Date: Tue Feb 5 01:40:35 2002
Author: abartlet
Update of /data/cvs/samba/source/auth
In directory va:/tmp/cvs-serv14487/auth
Modified Files:
pampass.c
Log Message:
Drastic impromvents to pam_winbind.
This adds code to do generic PAM -> NTSTATUS and NTSTATUS -> PAM error
conversions, and uses them to make the error handling in pam_winbind sane.
In particular, pam_winbind now uses PAM error codes, not silly '-1, -2 ...'
stuff, and logs the NTSTATUS error that winbind now sends over the pipe.
Added code to wbinfo to display these - makes a big difference in debugging
winbindd.
The main change here is the code to allow pam_winbind password changing to
correctly stack - This code ripped from pam_unix, and the copyright attached.
(Same as for all pam modules, including pam_winbind)
Andrew Bartlett
Revisions:
pampass.c 1.34 => 1.35
http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/pampass.c?r1=1.34&r2=1.35
More information about the samba-cvs
mailing list