diff options
author | Stefan Metzmacher <metze@samba.org> | 2019-03-08 11:27:14 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-04-11 04:17:10 +0000 |
commit | 5ea84af2d69e0b3a2a801ea0cc3f4ffc66bf1764 (patch) | |
tree | ccc2bcbc3e1c9c4edabb2848e654883468b99e3f /python/samba | |
parent | b5b572d5f71e2b9783ddb25c21ac32904fbfd661 (diff) | |
download | samba-5ea84af2d69e0b3a2a801ea0cc3f4ffc66bf1764.tar.gz |
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>
Diffstat (limited to 'python/samba')
-rw-r--r-- | python/samba/provision/__init__.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/python/samba/provision/__init__.py b/python/samba/provision/__init__.py index 0a3a7b89cb7..957cdaaf874 100644 --- a/python/samba/provision/__init__.py +++ b/python/samba/provision/__init__.py @@ -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, |