mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +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 5ea84af2d6
)
This commit is contained in:
parent
1711b15567
commit
b97bba87d1
@ -1193,11 +1193,15 @@ 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,
|
||||
"SCHEMADN": names.schemadn,
|
||||
"DEFAULTSITE": names.sitename,
|
||||
"NETBIOSNAME": names.netbiosname,
|
||||
"SERVERDN": names.serverdn,
|
||||
|
@ -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…
Reference in New Issue
Block a user