diff options
Diffstat (limited to 'source4/scripting/python')
| -rw-r--r-- | source4/scripting/python/samba/provision.py | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py index bb8b93e268..84045da19f 100644 --- a/source4/scripting/python/samba/provision.py +++ b/source4/scripting/python/samba/provision.py @@ -920,11 +920,18 @@ def setup_self_join(samdb, names,                "SERVERDN": names.serverdn,                "NETBIOSNAME": names.netbiosname,                "NTDSGUID": names.ntdsguid, -              "DNSPASS_B64": b64encode(dnspass),                "RIDALLOCATIONSTART": str(next_rid + 100),                "RIDALLOCATIONEND": str(next_rid + 100 + 499),                }) +    # This is Samba4 specific and should be replacted by the correct +    # DNS AD-style setup +    setup_add_ldif(samdb, setup_path("provision_dns_add.ldif"), { +              "DNSDOMAIN": names.dnsdomain, +              "DOMAINDN": names.domaindn, +              "DNSPASS_B64": b64encode(dnspass), +              }) +  def getpolicypath(sysvolpath, dnsdomain, guid):      if guid[0] != "{":          guid = "{%s}" % guid  | 
