Index: univention-samba4/98univention-samba4-dns.inst =================================================================== --- univention-samba4/98univention-samba4-dns.inst (Revision 36008) +++ univention-samba4/98univention-samba4-dns.inst (Arbeitskopie) @@ -128,7 +128,15 @@ # On a selective replicated DC the local system is not registered in global # SRV records. But the local settings are required, so execute samba_dnsupdate if is_ucr_true samba4/join/dnsupdate; then - samba_dnsupdate --local + dnsupdate_tmpfile=$(mktemp) + cp /var/lib/samba/private/dns_update_list "$(dnsupdate_tmpfile)" + cat >> "$(dnsupdate_tmpfile)" <<-%EOF + SRV _ldap._tcp.pdc._msdcs.\${DNSDOMAIN} \${HOSTNAME} 389 + ## Also necessary? + # SRV _ldap._tcp.pdc._msdcs.\${DNSFOREST} \${HOSTNAME} 389 + %EOF + samba_dnsupdate --local --update-list="$(dnsupdate_tmpfile)" + rm "$(dnsupdate_tmpfile)" fi joinscript_save_current_version