git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3cbcaa1
)
s4:pwsettings: Show default values in help messages.
author
Andrew Kroeger
<andrew@id10ts.net>
Tue, 8 Sep 2009 07:34:56 +0000
(
02:34
-0500)
committer
Matthias Dieter Wallnöfer
<mwallnoefer@yahoo.de>
Wed, 9 Sep 2009 23:09:55 +0000
(
01:09
+0200)
source4/setup/pwsettings
patch
|
blob
|
history
diff --git
a/source4/setup/pwsettings
b/source4/setup/pwsettings
index 44e12d0a98c21cd55afeacce38b8d229c065b1e7..cd9c07dfb54aac4c02ed701a77db386d5718f9ee 100755
(executable)
--- a/
source4/setup/pwsettings
+++ b/
source4/setup/pwsettings
@@
-33,13
+33,13
@@
parser.add_option("-H", help="LDB URL for database or target server", type=str)
parser.add_option("--complexity",
help="The password complexity (on | off | default). Default is 'on'", type=str)
parser.add_option("--history-length",
parser.add_option("--complexity",
help="The password complexity (on | off | default). Default is 'on'", type=str)
parser.add_option("--history-length",
- help="The password history length (<integer> | default)", type=str)
+ help="The password history length (<integer> | default)
. Default is 24.
", type=str)
parser.add_option("--min-pwd-length",
parser.add_option("--min-pwd-length",
- help="The minimum password length (<integer> | default)", type=str)
+ help="The minimum password length (<integer> | default)
. Default is 7.
", type=str)
parser.add_option("--min-pwd-age",
parser.add_option("--min-pwd-age",
- help="The minimum password age (<integer in days> | default)", type=str)
+ help="The minimum password age (<integer in days> | default)
. Default is 0.
", type=str)
parser.add_option("--max-pwd-age",
parser.add_option("--max-pwd-age",
- help="The maximum password age (<integer in days> | default)", type=str)
+ help="The maximum password age (<integer in days> | default)
. Default is 43.
", type=str)
opts, args = parser.parse_args()
opts, args = parser.parse_args()