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 >
Rowland Penny
2017-Feb-10 10:29 UTC
[Samba] /usr/sbin/samba_dnsupdate: ERROR: Record already exist
On Fri, 10 Feb 2017 11:16:40 +0100 Patrik <alabard at gmail.com> wrote:> 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? >You might think Bind is set up correctly, but it might not be. SO AGAIN: 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:55 UTC
[Samba] /usr/sbin/samba_dnsupdate: ERROR: Record already exist
Sorry! And thanks for helping! *named.conf:* include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.local"; include "/etc/bind/named.conf.default-zones"; include "/var/lib/samba/private/named.conf"; *Is it I just have to remove dnsupdate???* *smb.conf* [global] netbios name = SERVER realm = AC.PATRIKX3.TK server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, *dnsupdate* workgroup = PATRIKX3 server role = active directory domain controller idmap_ldb:use rfc2307 = yes [netlogon] path = /var/lib/samba/sysvol/ac.patrikx3.tk/scripts read only = No [sysvol] path = /var/lib/samba/sysvol read only = No [homes] comment = Home Directories browseable = no valid users = %S [media] path = /media read only = yes guest ok = yes [mounts] path = /mnt read only = yes guest ok = yes *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 11:29 AM, Rowland Penny via samba < samba at lists.samba.org> wrote:> On Fri, 10 Feb 2017 11:16:40 +0100 > Patrik <alabard at gmail.com> wrote: > > > 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? > > > > You might think Bind is set up correctly, but it might not be. > > SO AGAIN: > > 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 >