summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-06-25 13:32:39 +0200
committerStefan Metzmacher <metze@samba.org>2010-06-26 09:50:56 +0200
commit6ab234cec9e1ed13ffd5d2d117417f7dd71c44f1 (patch)
tree493bdea6079d40c1aaf53b64ef4f0ab4830070ce /source4/setup
parentc6b21931c6574322c8740f1a67f9125437c42c0d (diff)
downloadsamba-6ab234cec9e1ed13ffd5d2d117417f7dd71c44f1.tar.gz
samba-6ab234cec9e1ed13ffd5d2d117417f7dd71c44f1.tar.bz2
samba-6ab234cec9e1ed13ffd5d2d117417f7dd71c44f1.zip
s4:provision: move Samba4 specific DNS stuff to its own file
metze
Diffstat (limited to 'source4/setup')
-rw-r--r--source4/setup/provision.ldif5
-rw-r--r--source4/setup/provision_dns_add.ldif31
-rw-r--r--source4/setup/provision_self_join_modify.ldif15
3 files changed, 31 insertions, 20 deletions
diff --git a/source4/setup/provision.ldif b/source4/setup/provision.ldif
index 2159aeff98..2db01f9bb9 100644
--- a/source4/setup/provision.ldif
+++ b/source4/setup/provision.ldif
@@ -780,11 +780,6 @@ objectClass: top
objectClass: container
isCriticalSystemObject: TRUE
-dn: CN=MicrosoftDNS,CN=System,${DOMAINDN}
-objectClass: top
-objectClass: container
-displayName: DNS Servers
-
dn: CN=Password Settings Container,CN=System,${DOMAINDN}
objectClass: top
objectClass: msDS-PasswordSettingsContainer
diff --git a/source4/setup/provision_dns_add.ldif b/source4/setup/provision_dns_add.ldif
new file mode 100644
index 0000000000..abae85bb8c
--- /dev/null
+++ b/source4/setup/provision_dns_add.ldif
@@ -0,0 +1,31 @@
+dn: CN=DnsAdmins,CN=Users,${DOMAINDN}
+objectClass: group
+description: DNS Administrators Group
+sAMAccountName: DnsAdmins
+groupType: -2147483644
+
+dn: CN=DnsUpdateProxy,CN=Users,${DOMAINDN}
+objectClass: group
+description: DNS clients who are permitted to perform dynamic updates on behal
+ f of some other clients (such as DHCP servers).
+sAMAccountName: DnsUpdateProxy
+groupType: -2147483646
+
+dn: CN=MicrosoftDNS,CN=System,${DOMAINDN}
+objectClass: container
+displayName: DNS Servers
+
+# NOTE: This account is SAMBA4 specific!
+dn: CN=dns,CN=Users,${DOMAINDN}
+objectClass: top
+objectClass: person
+objectClass: organizationalPerson
+objectClass: user
+description: DNS Service Account
+userAccountControl: 514
+accountExpires: 9223372036854775807
+sAMAccountName: dns
+servicePrincipalName: DNS/${DNSDOMAIN}
+userPassword:: ${DNSPASS_B64}
+isCriticalSystemObject: TRUE
+
diff --git a/source4/setup/provision_self_join_modify.ldif b/source4/setup/provision_self_join_modify.ldif
index c2bba888b7..b667e5c40d 100644
--- a/source4/setup/provision_self_join_modify.ldif
+++ b/source4/setup/provision_self_join_modify.ldif
@@ -43,18 +43,3 @@ servicePrincipalName: E3514235-4B06-11D1-AB04-00C04FC2DCD2/${NTDSGUID}/${DNSDOMA
servicePrincipalName: ldap/${NTDSGUID}._msdcs.${DNSDOMAIN}
add: rIDSetReferences
rIDSetReferences: CN=RID Set,CN=${NETBIOSNAME},OU=Domain Controllers,${DOMAINDN}
-
-# NOTE: This account is SAMBA4 specific!
-dn: CN=dns,CN=Users,${DOMAINDN}
-changetype: add
-objectClass: top
-objectClass: person
-objectClass: organizationalPerson
-objectClass: user
-description: DNS Service Account
-userAccountControl: 514
-accountExpires: 9223372036854775807
-sAMAccountName: dns
-servicePrincipalName: DNS/${DNSDOMAIN}
-userPassword:: ${DNSPASS_B64}
-isCriticalSystemObject: TRUE