diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-11-10 09:14:57 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-11-10 09:53:18 +1100 |
commit | 13020349e16e7692fdbd9b88e3f158edd2e42736 (patch) | |
tree | eba53d61d4c2f2ad0530f9a24f458997ee9e61dc /source4/scripting | |
parent | 3c496f37c46fb2181c3afecc76e0fa9c3b307f11 (diff) | |
download | samba-13020349e16e7692fdbd9b88e3f158edd2e42736.tar.gz samba-13020349e16e7692fdbd9b88e3f158edd2e42736.tar.bz2 samba-13020349e16e7692fdbd9b88e3f158edd2e42736.zip |
s4-join: raise mininum password length to 32 in new join code
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/python/samba/join.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/join.py b/source4/scripting/python/samba/join.py index 5f11f66641..571b822f50 100644 --- a/source4/scripting/python/samba/join.py +++ b/source4/scripting/python/samba/join.py @@ -76,7 +76,7 @@ class dc_join: ctx.dc_dnsHostName = ctx.get_dnsHostName() ctx.behavior_version = ctx.get_behavior_version() - ctx.acct_pass = samba.generate_random_password(12, 32) + ctx.acct_pass = samba.generate_random_password(32, 40) # work out the DNs of all the objects we will be adding ctx.server_dn = "CN=%s,CN=Servers,CN=%s,CN=Sites,%s" % (ctx.myname, ctx.site, ctx.config_dn) |