diff options
| author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-07-03 11:27:20 +0200 | 
|---|---|---|
| committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-07-03 11:38:54 +0200 | 
| commit | c0ee606474ffb355e7c4e8dd70c773fe8904fa4b (patch) | |
| tree | 0a75497c3c74de7279a9bdc318e5eb2752fc8d2a /source4/scripting/python | |
| parent | 73c69a195abc68146352da399418b9f64a6ca803 (diff) | |
| download | samba-c0ee606474ffb355e7c4e8dd70c773fe8904fa4b.tar.gz samba-c0ee606474ffb355e7c4e8dd70c773fe8904fa4b.tar.bz2 samba-c0ee606474ffb355e7c4e8dd70c773fe8904fa4b.zip | |
s4:pwsettings net utility - change also here the "minPwdAge" to be the real default
Which is one day.
Diffstat (limited to 'source4/scripting/python')
| -rw-r--r-- | source4/scripting/python/samba/netcmd/pwsettings.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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 (<integer> | default).  Default is 7.", type=str),          Option("--min-pwd-age", -          help="The minimum password age (<integer in days> | default).  Default is 0.", type=str), +          help="The minimum password age (<integer in days> | default).  Default is 1.", type=str),          Option("--max-pwd-age",            help="The maximum password age (<integer in days> | 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) | 
