mirror of
https://github.com/samba-team/samba.git
synced 2025-01-21 18:04:06 +03:00
s4:provision: split out provision_self_join_modify_schema.ldif
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13799 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> (cherry picked from commit 5ea84af2d69e0b3a2a801ea0cc3f4ffc66bf1764)
This commit is contained in:
parent
54d9a47536
commit
cea297403d
@ -1182,7 +1182,12 @@ def setup_self_join(samdb, admin_session_info, names, fill, machinepass,
|
||||
"DOMAIN_CONTROLLER_FUNCTIONALITY": str(
|
||||
domainControllerFunctionality)})
|
||||
|
||||
# Setup fSMORoleOwner entries to point at the newly created DC entry
|
||||
# Setup fSMORoleOwner entries to point at the newly created DC entry
|
||||
setup_modify_ldif(samdb,
|
||||
setup_path("provision_self_join_modify_schema.ldif"), {
|
||||
"SCHEMADN": names.schemadn,
|
||||
"SERVERDN": names.serverdn,
|
||||
})
|
||||
setup_modify_ldif(samdb,
|
||||
setup_path("provision_self_join_modify_config.ldif"), {
|
||||
"CONFIGDN": names.configdn,
|
||||
|
@ -1,8 +1,3 @@
|
||||
dn: ${SCHEMADN}
|
||||
changetype: modify
|
||||
replace: fSMORoleOwner
|
||||
fSMORoleOwner: CN=NTDS Settings,${SERVERDN}
|
||||
|
||||
dn: CN=Partitions,${CONFIGDN}
|
||||
changetype: modify
|
||||
replace: fSMORoleOwner
|
||||
|
4
source4/setup/provision_self_join_modify_schema.ldif
Normal file
4
source4/setup/provision_self_join_modify_schema.ldif
Normal file
@ -0,0 +1,4 @@
|
||||
dn: ${SCHEMADN}
|
||||
changetype: modify
|
||||
replace: fSMORoleOwner
|
||||
fSMORoleOwner: CN=NTDS Settings,${SERVERDN}
|
Loading…
x
Reference in New Issue
Block a user