pam_winbind: fix warn_pwd_expire implementation.
authorGünther Deschner <gd@samba.org>
Wed, 3 Dec 2014 15:55:39 +0000 (16:55 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 3 Dec 2014 20:36:49 +0000 (21:36 +0100)
commit78b7db18149e7ecd484e4686461e6eb1a41ab5cb
treed4ba806a204e1a088240e60e03ec52917e475ce4
parent816751a3a8ed564f2cf880fd1ca3b1e8f9c85471
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