summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-01 11:30:19 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-01 12:25:24 +0100
commit7578e04fb8022ba13fa07fb88eb3d00474337ea1 (patch)
tree9c692f0420a3b98df69011b1747fbddf735c7f0b /source4/setup
parent2a25f7515a68938249beef47546465889ca1c734 (diff)
downloadsamba-7578e04fb8022ba13fa07fb88eb3d00474337ea1.tar.gz
samba-7578e04fb8022ba13fa07fb88eb3d00474337ea1.tar.bz2
samba-7578e04fb8022ba13fa07fb88eb3d00474337ea1.zip
s4:provision - adapt the "provision" so that SIDs are only set on entry creation
SID modifications are denied.
Diffstat (limited to 'source4/setup')
-rw-r--r--source4/setup/provision_basedn.ldif1
-rw-r--r--source4/setup/provision_basedn_modify.ldif3
2 files changed, 1 insertions, 3 deletions
diff --git a/source4/setup/provision_basedn.ldif b/source4/setup/provision_basedn.ldif
index b82f41452e..cb9173827c 100644
--- a/source4/setup/provision_basedn.ldif
+++ b/source4/setup/provision_basedn.ldif
@@ -5,5 +5,6 @@ dn: ${DOMAINDN}
objectClass: top
objectClass: domaindns
instanceType: 5
+objectSid: ${DOMAINSID}
nTSecurityDescriptor:: ${DESCRIPTOR}
${DOMAINGUID}
diff --git a/source4/setup/provision_basedn_modify.ldif b/source4/setup/provision_basedn_modify.ldif
index 53845f7355..d67d674319 100644
--- a/source4/setup/provision_basedn_modify.ldif
+++ b/source4/setup/provision_basedn_modify.ldif
@@ -72,9 +72,6 @@ nextRid: ${NEXTRID}
replace: nTMixedDomain
nTMixedDomain: 0
-
-replace: objectSid
-objectSid: ${DOMAINSID}
--
# This does only exist in SAMBA
replace: oEMInformation
oEMInformation: Provisioned by SAMBA ${SAMBA_VERSION_STRING}