summaryrefslogtreecommitdiffstats
path: root/source4/setup/provision_dns_add_samba.ldif
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup/provision_dns_add_samba.ldif')
-rw-r--r--source4/setup/provision_dns_add_samba.ldif16
1 files changed, 16 insertions, 0 deletions
diff --git a/source4/setup/provision_dns_add_samba.ldif b/source4/setup/provision_dns_add_samba.ldif
new file mode 100644
index 0000000..7fb2e78
--- /dev/null
+++ b/source4/setup/provision_dns_add_samba.ldif
@@ -0,0 +1,16 @@
+# NOTE: This account is SAMBA4 specific!
+# we have it to avoid the need for the bind daemon to
+# have access to the whole secrets.keytab for the domain,
+# otherwise bind could impersonate any user
+dn: CN=dns-${HOSTNAME},CN=Users,${DOMAINDN}
+objectClass: top
+objectClass: person
+objectClass: organizationalPerson
+objectClass: user
+description: DNS Service Account for ${HOSTNAME}
+userAccountControl: 512
+accountExpires: 9223372036854775807
+sAMAccountName: dns-${HOSTNAME}
+servicePrincipalName: DNS/${DNSNAME}
+clearTextPassword:: ${DNSPASS_B64}
+isCriticalSystemObject: TRUE