diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-11 13:39:31 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-11 14:07:22 +1000 |
commit | d26c42f5bfd212c18d53f439030fd830ecab2cf3 (patch) | |
tree | 4f52d3a68f8c06839d72c43b1af1c7316113e15a /source4/setup | |
parent | fdb8758e698e6df602b14ad7abe1152a2551e706 (diff) | |
download | samba-d26c42f5bfd212c18d53f439030fd830ecab2cf3.tar.gz samba-d26c42f5bfd212c18d53f439030fd830ecab2cf3.tar.bz2 samba-d26c42f5bfd212c18d53f439030fd830ecab2cf3.zip |
s4/provision: add the nTDSDSA GUID based DNS entries and SPNs
The DNS entries and SPNs are needed for samba<->samba DRS
replication. This patch adds them for a standalone DC configure. A
separate patch will add them for the vampire configure
Diffstat (limited to 'source4/setup')
-rw-r--r-- | source4/setup/provision.zone | 5 | ||||
-rw-r--r-- | source4/setup/provision_self_join_modify.ldif | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/source4/setup/provision.zone b/source4/setup/provision.zone index e7d600df87..9e312dcd51 100644 --- a/source4/setup/provision.zone +++ b/source4/setup/provision.zone @@ -15,10 +15,10 @@ ${HOSTIP_BASE_LINE} ${HOSTIP6_HOST_LINE} ${HOSTIP_HOST_LINE} gc._msdcs IN CNAME ${HOSTNAME} -${HOSTGUID}._msdcs IN CNAME ${HOSTNAME} +${NTDSGUID}._msdcs IN CNAME ${HOSTNAME} ; ; global catalog servers -_gc._tcp IN SRV 0 100 3268 ${HOSTNAME} +_gc._tcp IN SRV 2 100 3268 ${HOSTNAME} _gc._tcp.${DEFAULTSITE}._sites IN SRV 0 100 3268 ${HOSTNAME} _ldap._tcp.gc._msdcs IN SRV 0 100 389 ${HOSTNAME} _ldap._tcp.${DEFAULTSITE}._sites.gc._msdcs IN SRV 0 100 389 ${HOSTNAME} @@ -27,7 +27,6 @@ _ldap._tcp.${DEFAULTSITE}._sites.gc._msdcs IN SRV 0 100 389 ${HOSTNAME} _ldap._tcp IN SRV 0 100 389 ${HOSTNAME} _ldap._tcp.dc._msdcs IN SRV 0 100 389 ${HOSTNAME} _ldap._tcp.pdc._msdcs IN SRV 0 100 389 ${HOSTNAME} -_ldap._tcp.${DOMAINGUID} IN SRV 0 100 389 ${HOSTNAME} _ldap._tcp.${DOMAINGUID}.domains._msdcs IN SRV 0 100 389 ${HOSTNAME} _ldap._tcp.${DEFAULTSITE}._sites IN SRV 0 100 389 ${HOSTNAME} _ldap._tcp.${DEFAULTSITE}._sites.dc._msdcs IN SRV 0 100 389 ${HOSTNAME} diff --git a/source4/setup/provision_self_join_modify.ldif b/source4/setup/provision_self_join_modify.ldif index 4ba291f06f..200fc6c6d9 100644 --- a/source4/setup/provision_self_join_modify.ldif +++ b/source4/setup/provision_self_join_modify.ldif @@ -27,3 +27,9 @@ dn: CN=NTDS Site Settings,CN=${DEFAULTSITE},CN=Sites,${CONFIGDN} changetype: modify replace: interSiteTopologyGenerator interSiteTopologyGenerator: CN=NTDS Settings,${SERVERDN} + +dn: CN=${NETBIOSNAME},OU=Domain Controllers,${DOMAINDN} +changetype: modify +add: servicePrincipalName +servicePrincipalName: E3514235-4B06-11D1-AB04-00C04FC2DCD2/${NTDSGUID}/${DOMAIN} +servicePrincipalName: ldap/${NTDSGUID}._msdcs.${DOMAIN} |