Results 1 to 3 of 3

Thread: samba4 and bind9 auto updates

  1. #1
    Join Date
    Aug 2010
    Beans
    11

    samba4 and bind9 auto updates

    I am using samba4 and bind9 (9.7.2rc1) on an ubuntu server 10.04.

    Everything works fine, but bind9 ist unable to update DNS entries sent by clients.

    I followed the tutorial http://wiki.samba.org/index.php/Samb...ynamic_updates but it doesn't work for me.

    It doesn't look like a file permission problem:

    Code:
    -rw-r--r-- 1 root root /usr/local/samba/private/dns.keytab
    -rw-r--r-- 1 root root /usr/local/samba/private/dns_update_list
    -rw-r--r-- 1 root root /usr/local/samba/private/named.conf
    -rw-r--r-- 1 root root /usr/local/samba/private/named.conf.update
    -rw-r--r-- 1 root root /usr/local/samba/private/dns.keytab
    -rw-rw-rw- 1 root root /usr/local/samba/private/dns/mydomain.local.zone
    I also linked the keytab to /etc/krb5,keytab

    Wenn a client tries to update its DNS entry, the following happens:

    syslog:
    Code:
    Sep 2 17:22:21 samba named[15405]: client 192.168.1.299#58058: update 'mydomain.local/IN' denied
    samba.log:
    Code:
    ../dsdb/dns/dns_update.c:249:dnsupdate_nameupdate_done() 
    ../dsdb/dns/dns_update.c:249: Failed DNS update - NT_STATUS_IO_TIMEOUT
    With google I found a lot of posts of users with similar problems, but only one solution so far (http://lists.samba.org/archive/samba...ay/156032.html) and this solution gives me a TKEY error.

    Does anybody see what's going wrong here (not with the tkey, but with the updates)?

    Thanks in advance

    anchise

  2. #2
    Join Date
    Feb 2007
    Beans
    95

    Re: samba4 and bind9 auto updates

    Quote Originally Posted by anchise View Post
    I am using samba4 and bind9 (9.7.2rc1) on an ubuntu server 10.04.

    Everything works fine, but bind9 ist unable to update DNS entries sent by clients.

    I followed the tutorial http://wiki.samba.org/index.php/Samb...ynamic_updates but it doesn't work for me.

    It doesn't look like a file permission problem:

    Code:
    -rw-r--r-- 1 root root /usr/local/samba/private/dns.keytab
    -rw-r--r-- 1 root root /usr/local/samba/private/dns_update_list
    -rw-r--r-- 1 root root /usr/local/samba/private/named.conf
    -rw-r--r-- 1 root root /usr/local/samba/private/named.conf.update
    -rw-r--r-- 1 root root /usr/local/samba/private/dns.keytab
    -rw-rw-rw- 1 root root /usr/local/samba/private/dns/mydomain.local.zone
    I also linked the keytab to /etc/krb5,keytab

    Wenn a client tries to update its DNS entry, the following happens:

    syslog:
    Code:
    Sep 2 17:22:21 samba named[15405]: client 192.168.1.299#58058: update 'mydomain.local/IN' denied
    samba.log:
    Code:
    ../dsdb/dns/dns_update.c:249:dnsupdate_nameupdate_done() 
    ../dsdb/dns/dns_update.c:249: Failed DNS update - NT_STATUS_IO_TIMEOUT
    With google I found a lot of posts of users with similar problems, but only one solution so far (http://lists.samba.org/archive/samba...ay/156032.html) and this solution gives me a TKEY error.

    Does anybody see what's going wrong here (not with the tkey, but with the updates)?

    Thanks in advance

    anchise
    You said your Syslog showed:
    Sep 2 17:22:21 samba named[15405]: client 192.168.1.299#58058: update 'mydomain.local/IN' denied

    What kind of an address is 192.169.1.299 ?

  3. #3
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    8,833
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: samba4 and bind9 auto updates

    Did you give permission to that IP address or its subnet with "allow-update" in named.conf?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •