summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2015-04-23 18:35:51 +0200
committerAndreas Schneider <asn@cryptomilk.org>2015-04-24 13:02:37 +0200
commit86652c02083b411ad94217a871a2bcc81f16b369 (patch)
tree79ae256b29f25c802957e63041743bc4dd5cb928 /source4/setup
parent78cdd5ea7ddf265d8143c8d9dc42934889618dd1 (diff)
downloadsamba-86652c02083b411ad94217a871a2bcc81f16b369.tar.gz
s4-setup: Add saltPrincipal to secrets_dns.ldif
This adds the correct salt principal to the secretsdb so that we generate a valid keytab entries for AES and DES keys. The test doesn't fails with Heimdal cause it always uses RC4 which doesn't have a salt. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Apr 24 13:02:37 CEST 2015 on sn-devel-104
Diffstat (limited to 'source4/setup')
-rw-r--r--source4/setup/secrets_dns.ldif1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/setup/secrets_dns.ldif b/source4/setup/secrets_dns.ldif
index 192c06d286a..3c3599025b8 100644
--- a/source4/setup/secrets_dns.ldif
+++ b/source4/setup/secrets_dns.ldif
@@ -4,6 +4,7 @@ objectClass: top
objectClass: secret
objectClass: kerberosSecret
realm: ${REALM}
+saltPrincipal: dns-${HOSTNAME}@${REALM}
servicePrincipalName: DNS/${DNSNAME}
msDS-KeyVersionNumber: ${KEY_VERSION_NUMBER}
privateKeytab: ${DNS_KEYTAB}