summaryrefslogtreecommitdiff
path: root/source4/setup/secrets_dns.ldif
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup/secrets_dns.ldif')
-rw-r--r--source4/setup/secrets_dns.ldif5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/setup/secrets_dns.ldif b/source4/setup/secrets_dns.ldif
index 8a19733d19..641bce6382 100644
--- a/source4/setup/secrets_dns.ldif
+++ b/source4/setup/secrets_dns.ldif
@@ -1,11 +1,12 @@
#Update a keytab for the external DNS server to use
-dn: servicePrincipalName=DNS/${DNSDOMAIN},CN=Principals
+dn: samAccountName=dns-${HOSTNAME},CN=Principals
objectClass: top
objectClass: secret
objectClass: kerberosSecret
realm: ${REALM}
servicePrincipalName: DNS/${DNSDOMAIN}
+servicePrincipalName: DNS/${DNSNAME}
msDS-KeyVersionNumber: 1
privateKeytab: ${DNS_KEYTAB}
secret:: ${DNSPASS_B64}
-
+samAccountName: dns-${HOSTNAME}