Web lists-archives.com

[Samba] /usr/sbin/samba_dnsupdate: ERROR: Record already exists




Hi,

I just did "systemctl status samba-ad-dc.service" and saw the service is
running. But in the end of systemctl output there erros:
Jul 18 10:31:46 server-01 samba[7222]: [2017/07/18 10:31:46.130182,  0]
../lib/util/util_runcmd.c:316(samba_runcmd_io_handler)
Jul 18 10:31:46 server-01 samba[7222]:   /usr/sbin/samba_dnsupdate: ERROR:
Record already exists
Jul 18 10:31:46 server-01 samba[7222]: [2017/07/18 10:31:46.142055,  0]
../lib/util/util_runcmd.c:316(samba_runcmd_io_handler)
Jul 18 10:31:46 server-01 samba[7222]:   /usr/sbin/samba_dnsupdate: ERROR:
Record already exists
Jul 18 10:31:46 server-01 samba[7222]: [2017/07/18 10:31:46.154051,  0]
../lib/util/util_runcmd.c:316(samba_runcmd_io_handler)
Jul 18 10:31:46 server-01 samba[7222]:   /usr/sbin/samba_dnsupdate: ERROR:
Record already exists
Jul 18 10:31:46 server-01 samba[7222]: [2017/07/18 10:31:46.167474,  0]
../lib/util/util_runcmd.c:316(samba_runcmd_io_handler)
Jul 18 10:31:46 server-01 samba[7222]:   /usr/sbin/samba_dnsupdate: ERROR:
Record already exists
Jul 18 10:31:46 server-01 samba[7222]: [2017/07/18 10:31:46.177878,  0]
../lib/util/util_runcmd.c:316(samba_runcmd_io_handler)
Jul 18 10:31:46 server-01 samba[7222]:   /usr/sbin/samba_dnsupdate: ERROR:
Record already exists

I use BIND9_DLZ Back End and here are my config files:
 named.conf:
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";

named.conf.local:
include "/var/lib/samba/private/named.conf";

named.conf.default-zones:
zone "." {
        type hint;
        file "/etc/bind/db.root";
};

zone "localhost" {
        type master;
        file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
        type master;
        file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
        type master;
        file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
        type master;
        file "/etc/bind/db.255";
};

named.conf.options:
options {
        directory "/var/cache/bind";
        version "0.0.7";
        notify no;
        empty-zones-enable no;
        allow-query { 127.0.0.1; 192.168.15.0/24; };
        allow-recursion { 192.168.15.0/24;  127.0.0.1/32; };
        forwarders { 8.8.8.8; };
        allow-transfer { none; };
        dnssec-validation no;
        dnssec-enable no;

        listen-on-v6 { none; };
        listen-on port 53 { 192.168.15.2; 127.0.0.1; };
        tkey-gssapi-keytab "/var/lib/samba/private/dns.keytab";
};

smb.conf
[global]
        workgroup = EXAMPLE
        realm = example.com
        netbios name = PDC
        server role = active directory domain controller
        server services = -dns
        idmap_ldb:use rfc2307 = yes
        dns forwarder = 8.8.8.8
        interfaces = br0
[netlogon]
        path = /var/lib/samba/sysvol/example.com/scripts
        read only = No

[sysvol]
        path = /var/lib/samba/sysvol
        read only = No


Whats the reason?



--
View this message in context: http://samba.2283325.n4.nabble.com/usr-sbin-samba-dnsupdate-ERROR-Record-already-exists-tp4721606.html
Sent from the Samba - General mailing list archive at Nabble.com.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba