diff options
author | Amitay Isaacs <amitay@gmail.com> | 2011-09-06 16:22:45 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-09-08 02:04:51 +0200 |
commit | 7800a501cda683a3b8d78b952740d7131515806c (patch) | |
tree | 73627f926e452eb48c255ff1c7f9e2d1657b1c87 /source4 | |
parent | c212abe83fdc5066f210db1fde4e30f7b2e57e62 (diff) | |
download | samba-7800a501cda683a3b8d78b952740d7131515806c.tar.gz samba-7800a501cda683a3b8d78b952740d7131515806c.tar.xz samba-7800a501cda683a3b8d78b952740d7131515806c.zip |
s4-provision: Fill msDS-NC-Replica-Locations attribute in DNS provisioning
This attribute is required by the hosting requirement.
[MS_ADTS].pdf 7.1.2.3.1 DC and Application NC Replica
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Sep 8 02:04:51 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r-- | source4/scripting/python/samba/provision/sambadns.py | 1 | ||||
-rw-r--r-- | source4/setup/provision_dnszones_add.ldif | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/provision/sambadns.py b/source4/scripting/python/samba/provision/sambadns.py index 93fce601749..b28c0a4e937 100644 --- a/source4/scripting/python/samba/provision/sambadns.py +++ b/source4/scripting/python/samba/provision/sambadns.py @@ -165,6 +165,7 @@ def setup_dns_partitions(samdb, domaindn, forestdn, configdn, serverdn): "DOMAINZONE_DNS": domainzone_dns, "FORESTZONE_DNS": forestzone_dns, "CONFIGDN": configdn, + "SERVERDN": serverdn, }) modify_ldif(samdb, "provision_dnszones_modify.ldif", { diff --git a/source4/setup/provision_dnszones_add.ldif b/source4/setup/provision_dnszones_add.ldif index ee1a3eb99f0..fc814b2b6d8 100644 --- a/source4/setup/provision_dnszones_add.ldif +++ b/source4/setup/provision_dnszones_add.ldif @@ -65,6 +65,7 @@ objectClass: crossRef nCName: ${DOMAINZONE_DN} dnsRoot: ${DOMAINZONE_DNS} systemFlags: 5 +msDS-NC-Replica-Locations: CN=NTDS Settings,${SERVERDN} dn: CN=${FORESTZONE_GUID},CN=Partitions,${CONFIGDN} objectClass: top @@ -72,3 +73,5 @@ objectClass: crossRef nCName: ${FORESTZONE_DN} dnsRoot: ${FORESTZONE_DNS} systemFlags: 5 +msDS-NC-Replica-Locations: CN=NTDS Settings,${SERVERDN} + |