diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-08-25 19:15:13 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-09-13 15:37:12 +1000 |
commit | c271b7142062f833869bb13aed4a873edcd1e445 (patch) | |
tree | c1b02829551fe2bb9b241ab3f88848af5c97764c /source4/setup | |
parent | 840448eae81542b78c22d4b2bc93281c39688007 (diff) | |
download | samba-c271b7142062f833869bb13aed4a873edcd1e445.tar.gz samba-c271b7142062f833869bb13aed4a873edcd1e445.tar.bz2 samba-c271b7142062f833869bb13aed4a873edcd1e445.zip |
s4-provision Perform 'modify' operations as system
We need this so that we can modify the cn=configuration partition when
we are setting up a new subdomain.
The serverReference on our ${SERVERDN} is in that partition, and
without this change creating a new subdomain fails due to ACLs.
Andrew Bartlett
Diffstat (limited to 'source4/setup')
-rw-r--r-- | source4/setup/provision_self_join.ldif | 7 | ||||
-rw-r--r-- | source4/setup/provision_self_join_modify.ldif | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/source4/setup/provision_self_join.ldif b/source4/setup/provision_self_join.ldif index b19db78b72..f77ac5710e 100644 --- a/source4/setup/provision_self_join.ldif +++ b/source4/setup/provision_self_join.ldif @@ -20,3 +20,10 @@ sAMAccountName: ${NETBIOSNAME}$ userAccountControl: 532480 clearTextPassword:: ${MACHINEPASS_B64} objectSid: ${DOMAINSID}-${DCRID} + +dn: CN=RID Set,CN=${NETBIOSNAME},OU=Domain Controllers,${DOMAINDN} +objectClass: rIDSet +rIDAllocationPool: ${RIDALLOCATIONSTART}-${RIDALLOCATIONEND} +rIDPreviousAllocationPool: ${RIDALLOCATIONSTART}-${RIDALLOCATIONEND} +rIDUsedPool: 0 +rIDNextRID: ${RIDALLOCATIONSTART} diff --git a/source4/setup/provision_self_join_modify.ldif b/source4/setup/provision_self_join_modify.ldif index 7b5c562ed0..dcdeee39d4 100644 --- a/source4/setup/provision_self_join_modify.ldif +++ b/source4/setup/provision_self_join_modify.ldif @@ -15,14 +15,6 @@ changetype: modify replace: fSMORoleOwner fSMORoleOwner: CN=NTDS Settings,${SERVERDN} -dn: CN=RID Set,CN=${NETBIOSNAME},OU=Domain Controllers,${DOMAINDN} -changetype: add -objectClass: rIDSet -rIDAllocationPool: ${RIDALLOCATIONSTART}-${RIDALLOCATIONEND} -rIDPreviousAllocationPool: ${RIDALLOCATIONSTART}-${RIDALLOCATIONEND} -rIDUsedPool: 0 -rIDNextRID: ${RIDALLOCATIONSTART} - dn: CN=${NETBIOSNAME},OU=Domain Controllers,${DOMAINDN} changetype: modify add: rIDSetReferences |