Patrik Laszlo
2017-Feb-09 22:28 UTC
[Samba] /usr/sbin/samba_dnsupdate: ERROR: Record already exist
Hello! I am on Debian Testing repo. I used this: https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller It works, but every 10 minutes it does this: Feb 9 23:21:13 server samba[875]: /usr/sbin/samba_dnsupdate: ERROR: Record already exists Feb 9 23:21:13 server samba[875]: [2017/02/09 23:21:13.544804, 0] ../lib/util/util_runcmd.c:316(samba_runcmd_io_handler I am using BIND9 and it has now error: include "/var/lib/samba/private/named.conf"; Why does it use when already on BIND9? Is it why it is duplicate? Also log: ERROR: Record already exists update (samba-tool): SRV _ldap._tcp.Default-First-Site-Name._sites.DomainDnsZones.ac.patrikx3.tk server.ac.patrikx3.tk 389 Calling samba-tool dns for SRV _ldap._tcp.Default-First-Site-Name._sites.DomainDnsZones.ac.patrikx3.tk server.ac.patrikx3.tk 389 (add) Calling samba-tool dns add -k no -P ['192.168.78.20', 'ac.patrikx3.tk', '_ldap._tcp.Default-First-Site-Name._sites.DomainDnsZones', 'SRV', 'server.ac.patrikx3.tk 389 0 100'] ERROR: Record already exists update (samba-tool): A ForestDnsZones.ac.patrikx3.tk 192.168.78.20 Calling samba-tool dns for A ForestDnsZones.ac.patrikx3.tk 192.168.78.20 (add) Calling samba-tool dns add -k no -P ['192.168.78.20', 'ac.patrikx3.tk', 'ForestDnsZones', 'A', '192.168.78.20'] ERROR: Record already exists update (samba-tool): SRV _ldap._tcp.ForestDnsZones.ac.patrikx3.tk server.ac.patrikx3.tk 389 Calling samba-tool dns for SRV _ldap._tcp.ForestDnsZones.ac.patrikx3.tk server.ac.patrikx3.tk 389 (add) Calling samba-tool dns add -k no -P ['192.168.78.20', 'ac.patrikx3.tk', '_ldap._tcp.ForestDnsZones', 'SRV', 'server.ac.patrikx3.tk 389 0 100'] ERROR: Record already exists update (samba-tool): SRV _ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones.ac.patrikx3.tk server.ac.patrikx3.tk 389 Calling samba-tool dns for SRV _ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones.ac.patrikx3.tk server.ac.patrikx3.tk 389 (add) Calling samba-tool dns add -k no -P ['192.168.78.20', 'ac.patrikx3.tk', '_ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones', 'SRV', 'server.ac.patrikx3.tk 389 0 100'] ERROR: Record already exists root at server:/media/storage# samba_dnsupdate --verbose
Rowland Penny
2017-Feb-10 09:42 UTC
[Samba] /usr/sbin/samba_dnsupdate: ERROR: Record already exist
On Thu, 9 Feb 2017 23:28:21 +0100 Patrik Laszlo via samba <samba at lists.samba.org> wrote:> Hello! > > I am on Debian Testing repo. > I used this: > https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller > > It works, but every 10 minutes it does this: > Feb 9 23:21:13 server samba[875]: /usr/sbin/samba_dnsupdate: > ERROR: Record already exists > Feb 9 23:21:13 server samba[875]: [2017/02/09 23:21:13.544804, 0] > ../lib/util/util_runcmd.c:316(samba_runcmd_io_handler > > I am using BIND9 and it has now error: > include "/var/lib/samba/private/named.conf"; > > Why does it use when already on BIND9? Is it why it is duplicate? >It is using the 'named.conf' file because it is the link between Bind9 and Samba. I think you will need to post your smb.conf and named.conf files, don't attach them, post them inline, this list will strip attachments. Rowland
Patrik
2017-Feb-10 10:16 UTC
[Samba] /usr/sbin/samba_dnsupdate: ERROR: Record already exist
Ciao! Actual the Bind has no error. The error is in this: sambadns_update --verbose Also in the log, i can see it try to update the sambadns_update. Why does it does sambadns_update when it is already in bind9 via DLZ? And it works! /usr/sbin/samba_dnsupdate: ERROR: Record already exists [2017/02/09 02:17:39.419269, 0] ../lib/util/util_runcmd.c:316(samba_runcmd_io_handler) Isnt it duplicate? Update DNS via samba plus bind9 dlz? *Patrik* *GTalk: *alabard at gmail.com *Web:* http://www.patrikx3.tk *Mobile:* +36 20 342 8046 <+36+20+342+8046> On Fri, Feb 10, 2017 at 10:42 AM, Rowland Penny via samba < samba at lists.samba.org> wrote:> On Thu, 9 Feb 2017 23:28:21 +0100 > Patrik Laszlo via samba <samba at lists.samba.org> wrote: > > > Hello! > > > > I am on Debian Testing repo. > > I used this: > > https://wiki.samba.org/index.php/Setting_up_Samba_as_an_ > Active_Directory_Domain_Controller > > > > It works, but every 10 minutes it does this: > > Feb 9 23:21:13 server samba[875]: /usr/sbin/samba_dnsupdate: > > ERROR: Record already exists > > Feb 9 23:21:13 server samba[875]: [2017/02/09 23:21:13.544804, 0] > > ../lib/util/util_runcmd.c:316(samba_runcmd_io_handler > > > > I am using BIND9 and it has now error: > > include "/var/lib/samba/private/named.conf"; > > > > Why does it use when already on BIND9? Is it why it is duplicate? > > > > It is using the 'named.conf' file because it is the link between Bind9 > and Samba. > > I think you will need to post your smb.conf and named.conf files, don't > attach them, post them inline, this list will strip attachments. > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Apparently Analagous Threads
- /usr/sbin/samba_dnsupdate: ERROR: Record already exist
- /usr/sbin/samba_dnsupdate: ERROR: Record already exist
- /usr/sbin/samba_dnsupdate: ERROR: Record already exist
- /usr/sbin/samba_dnsupdate: ERROR: Record already exist
- /usr/sbin/samba_dnsupdate: ERROR: Record already exist