summaryrefslogtreecommitdiff
path: root/examples/pam_winbind
diff options
context:
space:
mode:
authorLars Müller <lmuelle@samba.org>2007-07-04 14:03:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:46 -0500
commita3de7e9b9dcd4d15a1c07244acae205b1edb934b (patch)
tree0ebea35927bcae9130bcbd8cf42b473f9dbb34ce /examples/pam_winbind
parent866e39ad25cba1db70d9c2b207f28920967853b0 (diff)
downloadsamba-a3de7e9b9dcd4d15a1c07244acae205b1edb934b.tar.gz
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)
Diffstat (limited to 'examples/pam_winbind')
-rw-r--r--examples/pam_winbind/pam_winbind.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/pam_winbind/pam_winbind.conf b/examples/pam_winbind/pam_winbind.conf
index 8caf02d0d08..a9e02a833a5 100644
--- a/examples/pam_winbind/pam_winbind.conf
+++ b/examples/pam_winbind/pam_winbind.conf
@@ -28,5 +28,8 @@
# (can also take a name)
;require_membership_of =
+# password expiry warning period in days
+;warn_pwd_expire = 14
+
# omit pam conversations
;silent = no