Updates to better report some NTSTATUS errors into PAM, and update to PAM
authorAndrew Bartlett <abartlet@samba.org>
Tue, 28 May 2002 14:35:11 +0000 (14:35 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 28 May 2002 14:35:11 +0000 (14:35 +0000)
commite066e5e614f4072384b704c628b35b91fb52ffe3
tree7342a6cb0f0db9cc82c4789635ebe0b72a35325d
parent742ed34e470cf1e9c406b5a06a3274146d26b2d5
Updates to better report some NTSTATUS errors into PAM, and update to PAM
to correctly allow password changes on expired passwords.  (No security
implications, as its just a 'will I let you talk to the server' check).

pam_winbind checks the password prior to changing it, so that users don't
have to make up and type their new password when they havn't even got the
old one right.  This also helps with stacking etc.

Andrew Bartlett
(This used to be commit 2b78d493002a3ba13533429c6a14f5c0a92f43d1)
source3/lib/pam_errors.c
source3/nsswitch/pam_winbind.c