summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-12-24 08:56:50 +1100
committerStefan Metzmacher <metze@samba.org>2013-09-04 07:06:05 +0200
commitb106d9090e8f8f44f02059d2ced3d10066787060 (patch)
tree34ae704d7bc844869d59d4e1e363842da66c75be /source4/setup
parentbdab6f9431715fbfd28f8cc0dfb4dde2966f22f3 (diff)
downloadsamba-b106d9090e8f8f44f02059d2ced3d10066787060.tar.gz
samba-b106d9090e8f8f44f02059d2ced3d10066787060.tar.bz2
samba-b106d9090e8f8f44f02059d2ced3d10066787060.zip
scripting/join.py: Handle creating the dns-NAME account during a DC join
This will ensure that the DLZ plugin works out of the box when joining a second Samba DC to the domain. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/setup')
-rw-r--r--source4/setup/secrets_dns.ldif2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/setup/secrets_dns.ldif b/source4/setup/secrets_dns.ldif
index 67fd66b057..192c06d286 100644
--- a/source4/setup/secrets_dns.ldif
+++ b/source4/setup/secrets_dns.ldif
@@ -5,7 +5,7 @@ objectClass: secret
objectClass: kerberosSecret
realm: ${REALM}
servicePrincipalName: DNS/${DNSNAME}
-msDS-KeyVersionNumber: 1
+msDS-KeyVersionNumber: ${KEY_VERSION_NUMBER}
privateKeytab: ${DNS_KEYTAB}
secret:: ${DNSPASS_B64}
samAccountName: dns-${HOSTNAME}