how to set up bind9 dns server for joined samba 4 to server 2003

Mohammad Ebrahim Abravi lamp.mia at gmail.com
Wed Dec 14 04:53:10 MST 2011


Hi
Samba4 joined to server 2003 as a DC with this command:

samba-tool domain join samba.example.com DC -Uadministrator
--realm=samba.example.com

*How to Setup bind 9.7.3 as dns server Instead of windows dns server?*

================================>
try this:
create dns and named files with provision command
copy dns and named files to joind samba
config bind and set
 KEYTAB_FILE="/usr/local/samba/private/dns.keytab"
 KRB5_KTNAME="/usr/local/samba/private/dns.keytab"
 export KEYTAB_FILE
 export KRB5_KTNAME
...
...
...
and all other thing (need for setting on single samba 4 dc)

run samba_dnsupdate
dns_tkey_negotiategss: TKEY is unacceptable
Failed update of 1 entries

*some times see this error in syslog:*
Dec 14 10:46:55 samba named[9305]: client 192.168.60.247#1161:
updating zone 'samba.example.com./IN': update unsuccessful:
your-pc.samba.example.com/A: 'RRset exists (value dependent)'
prerequisite not satisfied (NXRRSET)
Dec 14 10:46:55 samba named[9305]: client 192.168.60.247#1164: update
'samba.example.com/IN' denie
================================>


More information about the samba-technical mailing list