Patch from Steve Langasek <corlon@netexpress.net>
authorJohn Terpstra <jht@samba.org>
Tue, 8 Apr 2003 04:44:26 +0000 (04:44 +0000)
committerJohn Terpstra <jht@samba.org>
Tue, 8 Apr 2003 04:44:26 +0000 (04:44 +0000)
commitb610c18bd9eba4d67d37f054775168f6d4c13f5c
treef493eb20b17791cae0a0ce89f3739174aa3d81e3
parent09e9e5a2fd510e01262a733384b23d0e1a1bf541
Patch from Steve Langasek <corlon@netexpress.net>

fix up two issues in
pam_smbpass.  The first, more important issue is adding support for the
(apparently new) LOCAL_SET_PASSWORD flag to local_password_change(),
without which pam_smbpass is a complete and utter no-op.  The second,
lesser issue is that with the advent of ldapsam, it's possible for
pam_smbpass to generate a SIGPIPE that isn't handled by the calling
application.  The most basic signal wrapping is put in place to prevent
this.

Beyond that, the only thing in the patch is a bit of reformatting to
make pam_smb_passwd.c look a bit more like the rest of the code in CVS.
(This used to be commit 7cb5af35273097f913bff6894fe03050a18e1def)
source3/pam_smbpass/pam_smb_acct.c
source3/pam_smbpass/pam_smb_auth.c
source3/pam_smbpass/pam_smb_passwd.c