From a3de7e9b9dcd4d15a1c07244acae205b1edb934b Mon Sep 17 00:00:00 2001 From: Lars Müller Date: Wed, 4 Jul 2007 14:03:10 +0000 Subject: r23704: Add pam_pwd_expire feature as discussed on samba-technical. This is a slightly modified version to set warn_pwd_expire to the default value if 0, no, or a broken value is set. This version also has one if statement less in get_config_item_int(). Thanks a lot to Andreas 'GlaDiaC' Schneider for this feature! (This used to be commit d26914c978457ae0ec097cc40c8e33a7cee9ebcf) --- source3/nsswitch/pam_winbind.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch/pam_winbind.h') diff --git a/source3/nsswitch/pam_winbind.h b/source3/nsswitch/pam_winbind.h index 0e7688be15..159cb28059 100644 --- a/source3/nsswitch/pam_winbind.h +++ b/source3/nsswitch/pam_winbind.h @@ -116,7 +116,7 @@ do { \ #define SECONDS_PER_DAY 86400 -#define DAYS_TO_WARN_BEFORE_PWD_EXPIRES 5 +#define DEFAULT_DAYS_TO_WARN_BEFORE_PWD_EXPIRES 14 #include "winbind_client.h" -- cgit