pam_winbind: fix warn_pwd_expire implementation.
commit6e030c2c21f605e4364af05afa08dabd8001fdfd
authorGünther Deschner <gd@samba.org>
Wed, 3 Dec 2014 15:55:39 +0000 (3 16:55 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 8 Dec 2014 09:16:12 +0000 (8 10:16 +0100)
tree197577951a1c86f3922b7ab1deb64b9bb7c8e3e9
parent2bea37d47ab398bf282f62c9d59429ce54b4bb4e
pam_winbind: fix warn_pwd_expire implementation.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9056

warn_pwd_expire parameter is not working as documented in pam_winbind manual
page. This patch adds missing bit and allows disabling warning message fully,
i.e. setting warn time to zero days.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Dec  3 21:36:49 CET 2014 on sn-devel-104
nsswitch/pam_winbind.c