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
commitd26914c978457ae0ec097cc40c8e33a7cee9ebcf (patch)
tree7f48683f89e01f11c3a5732eb7fb6a672b0053aa /examples/pam_winbind
parentc85311b3a8a891af4b4c8eb1f09bd91f00a1f5db (diff)
downloadsamba-d26914c978457ae0ec097cc40c8e33a7cee9ebcf.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!
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