summaryrefslogtreecommitdiffstats
path: root/lib/param/param_table.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-12-09 14:23:49 +1300
committerStefan Metzmacher <metze@samba.org>2014-04-02 17:12:47 +0200
commit9d5f4cabf3f491fd1c22dbc1daaad8a657d12914 (patch)
treec5a39f44316263d6426ecc7397bc878f5aed27c1 /lib/param/param_table.c
parentafdd5fbd51b4dbde419da7bc64bab5eaf42a955d (diff)
downloadsamba-9d5f4cabf3f491fd1c22dbc1daaad8a657d12914.tar.gz
samba-9d5f4cabf3f491fd1c22dbc1daaad8a657d12914.tar.xz
samba-9d5f4cabf3f491fd1c22dbc1daaad8a657d12914.zip
lib/param: Add new parameter "old password allowed period"
Change-Id: I46228b492ba71ba4f3fee380a1ccadb328e3ade1 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/param/param_table.c')
-rw-r--r--lib/param/param_table.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 40f8eb50d8..8df7d1b5fa 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -490,6 +490,15 @@ static struct parm_struct parm_table[] = {
.flags = FLAG_ADVANCED | FLAG_DEPRECATED,
},
{
+ .label = "old password allowed period",
+ .type = P_INTEGER,
+ .p_class = P_GLOBAL,
+ .offset = GLOBAL_VAR(old_password_allowed_period),
+ .special = NULL,
+ .enum_list = NULL,
+ .flags = FLAG_ADVANCED,
+ },
+ {
.label = "obey pam restrictions",
.type = P_BOOL,
.p_class = P_GLOBAL,