CVS update: samba/source/nsswitch

abartlet at samba.org abartlet at samba.org
Tue Feb 5 20:40:37 EST 2002


Date:	Tue Feb  5 01:40:36 2002
Author:	abartlet

Update of /data/cvs/samba/source/nsswitch
In directory va:/tmp/cvs-serv14487/nsswitch

Modified Files:
	pam_winbind.c pam_winbind.h wbinfo.c winbindd_nss.h 
	winbindd_pam.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_winbind.c		1.6 => 1.7
	http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/pam_winbind.c?r1=1.6&r2=1.7
pam_winbind.h		1.4 => 1.5
	http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/pam_winbind.h?r1=1.4&r2=1.5
wbinfo.c		1.29 => 1.30
	http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c?r1=1.29&r2=1.30
winbindd_nss.h		1.19 => 1.20
	http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_nss.h?r1=1.19&r2=1.20
winbindd_pam.c		1.37 => 1.38
	http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_pam.c?r1=1.37&r2=1.38




More information about the samba-cvs mailing list