1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-13 08:59:08 +03:00

s4-join: raise mininum password length to 32 in new join code

This commit is contained in:
Andrew Tridgell
2010-11-10 09:14:57 +11:00
parent 3c496f37c4
commit 13020349e1

View File

@ -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)