mirror of
https://github.com/samba-team/samba.git
synced 2025-07-16 20:59:12 +03:00
s4-provision: don't hard wire the creation of the RID Set object
We now create it automatically in the samldb module when the first user is created. The creation of the dns user also had to move to the _modify.ldif as it now relies on the fSMO role being setup for the RID Manager Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
@ -793,7 +793,6 @@ def setup_self_join(samdb, names,
|
||||
"DEFAULTSITE": names.sitename,
|
||||
"DNSNAME": "%s.%s" % (names.hostname, names.dnsdomain),
|
||||
"MACHINEPASS_B64": b64encode(machinepass),
|
||||
"DNSPASS_B64": b64encode(dnspass),
|
||||
"REALM": names.realm,
|
||||
"DOMAIN": names.domain,
|
||||
"DOMAINSID": str(domainsid),
|
||||
@ -825,7 +824,8 @@ def setup_self_join(samdb, names,
|
||||
"DEFAULTSITE": names.sitename,
|
||||
"SERVERDN": names.serverdn,
|
||||
"NETBIOSNAME": names.netbiosname,
|
||||
"NTDSGUID": names.ntdsguid
|
||||
"NTDSGUID": names.ntdsguid,
|
||||
"DNSPASS_B64": b64encode(dnspass),
|
||||
})
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user