summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-01-05 17:08:56 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-08 13:02:58 +1100
commit5eb3b919c59b62065db32e0575fcd1d84a64e3db (patch)
treef7544ed1596a0dea4303577ce9969945ff9b1bc9 /source4/scripting
parent2bad107aa1110bd003aaca91c3214fe2c6b07197 (diff)
downloadsamba-5eb3b919c59b62065db32e0575fcd1d84a64e3db.tar.gz
samba-5eb3b919c59b62065db32e0575fcd1d84a64e3db.tar.bz2
samba-5eb3b919c59b62065db32e0575fcd1d84a64e3db.zip
s4-provision: the DC object itself needs a fixed objectSID
We can't allocate a objectSID until we have rIDSetReferences, but that is in the DC object, so we have to force the objectSID of the DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/provision.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index d7d0a790ca..62ca9282d1 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -796,6 +796,7 @@ def setup_self_join(samdb, names,
"DNSPASS_B64": b64encode(dnspass),
"REALM": names.realm,
"DOMAIN": names.domain,
+ "DOMAINSID": str(domainsid),
"DNSDOMAIN": names.dnsdomain,
"SAMBA_VERSION_STRING": version,
"NTDSGUID": ntdsguid_line,