CVS update: samba/source/lib
abartlet at samba.org
abartlet at samba.org
Tue Feb 5 20:40:36 EST 2002
Date: Tue Feb 5 01:40:36 2002
Author: abartlet
Update of /data/cvs/samba/source/lib
In directory va:/tmp/cvs-serv14487/lib
Added Files:
pam_errors.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:
pam_errors.c NONE => 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/pam_errors.c?rev=1.1
More information about the samba-cvs
mailing list