Mohammad Ebrahim Abravi
2011-Dec-14 11:53 UTC
[Samba] how to set up bind9 dns server for joined samba 4 to server 2003
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 ================================>
Mohammad Ebrahim Abravi
2011-Dec-15 12:03 UTC
[Samba] how to set up bind9 dns server for joined samba 4 to server 2003
who to join samba as DC to windows without add windows dns? On Wed, Dec 14, 2011 at 3:23 PM, Mohammad Ebrahim Abravi <lamp.mia at gmail.com> wrote:> 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 > ================================> > > >