diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-08-11 15:45:43 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-08-12 04:00:07 +0200 |
commit | d79ee18f988d1f43eb1f76752e749385b9b9c251 (patch) | |
tree | f3a92d546240b7a320b299f195aa4b6d28c69040 /source4/scripting/python | |
parent | ccba16c4b8de285f55683011c1527af3f6f48460 (diff) | |
download | samba-d79ee18f988d1f43eb1f76752e749385b9b9c251.tar.gz samba-d79ee18f988d1f43eb1f76752e749385b9b9c251.tar.bz2 samba-d79ee18f988d1f43eb1f76752e749385b9b9c251.zip |
s4-provision: create dsServiceName in @ROOTDSE in GUID form
this allows for handling of server renames as the GUID doesn't change
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting/python')
-rw-r--r-- | source4/scripting/python/samba/provision/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision/__init__.py b/source4/scripting/python/samba/provision/__init__.py index 4724afed1f..17f8e0f15b 100644 --- a/source4/scripting/python/samba/provision/__init__.py +++ b/source4/scripting/python/samba/provision/__init__.py @@ -1745,7 +1745,8 @@ def provision(logger, session_info, credentials, smbconf=None, domainsid, names.dnsdomain, names.domaindn, lp) logger.info("Setting up sam.ldb rootDSE marking as synchronized") - setup_modify_ldif(samdb, setup_path("provision_rootdse_modify.ldif")) + setup_modify_ldif(samdb, setup_path("provision_rootdse_modify.ldif"), + { 'NTDSGUID' : names.ntdsguid }) secretsdb_self_join(secrets_ldb, domain=names.domain, realm=names.realm, dnsdomain=names.dnsdomain, |