From c0ee606474ffb355e7c4e8dd70c773fe8904fa4b Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sat, 3 Jul 2010 11:27:20 +0200 Subject: s4:pwsettings net utility - change also here the "minPwdAge" to be the real default Which is one day. --- source4/scripting/python/samba/netcmd/pwsettings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/scripting/python') diff --git a/source4/scripting/python/samba/netcmd/pwsettings.py b/source4/scripting/python/samba/netcmd/pwsettings.py index f4f827015a..bfec13c29a 100644 --- a/source4/scripting/python/samba/netcmd/pwsettings.py +++ b/source4/scripting/python/samba/netcmd/pwsettings.py @@ -55,7 +55,7 @@ class cmd_pwsettings(Command): Option("--min-pwd-length", help="The minimum password length ( | default). Default is 7.", type=str), Option("--min-pwd-age", - help="The minimum password age ( | default). Default is 0.", type=str), + help="The minimum password age ( | default). Default is 1.", type=str), Option("--max-pwd-age", help="The maximum password age ( | default). Default is 43.", type=str), ] @@ -142,7 +142,7 @@ class cmd_pwsettings(Command): if min_pwd_age is not None: if min_pwd_age == "default": - min_pwd_age = 0 + min_pwd_age = 1 else: min_pwd_age = int(min_pwd_age) -- cgit