Patch from Steve Langasek <vorlon@netexpress.net>
authorJohn Terpstra <jht@samba.org>
Tue, 8 Apr 2003 04:42:44 +0000 (04:42 +0000)
committerJohn Terpstra <jht@samba.org>
Tue, 8 Apr 2003 04:42:44 +0000 (04:42 +0000)
commitb15255d7ab8a0b883f97fe57bf7280fbbf8e92b7
treefc61ab3537d56acf469c2faca0d0a8f47af7221d
parent8490fa485467edd9f03074a39329c3669663b2cf
Patch from Steve Langasek <vorlon@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.
More of that later, I'm sure.
(This used to be commit 1aecda300e0b44c133fe0cd2bafb166621dbc17a)
source3/pam_smbpass/pam_smb_acct.c
source3/pam_smbpass/pam_smb_auth.c
source3/pam_smbpass/pam_smb_passwd.c