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
>
Rowland Penny
2017-Feb-10 11:03 UTC
[Samba] /usr/sbin/samba_dnsupdate: ERROR: Record already exist
On Fri, 10 Feb 2017 11:55:04 +0100 Patrik <alabard at gmail.com> wrote:> 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";And the contents ??> > *Is it I just have to remove dnsupdate???*NO> > [homes] > comment = Home Directories > browseable = no > valid users = %SObviously not seen that '[homes]' doesn't work on a DC, see here: https://wiki.samba.org/index.php/User_Home_Folders Rowland
Patrik
2017-Feb-10 11:18 UTC
[Samba] /usr/sbin/samba_dnsupdate: ERROR: Record already exist
Thanks so much! I will deal with the user home folders later!
*Here is the DNS:*
options {
directory "/var/cache/bind";
dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
zone "patrikx3.tk" {
type master;
file "/etc/bind/zones/db.patrikx3.tk";
};
zone "corifeus.tk" {
type master;
file "/etc/bind/zones/db.corifeus.tk";
};
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";
};
dlz "AD DNS Zone" {
database "dlopen
/usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_10.so";
};
*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 12:03 PM, Rowland Penny via samba <
samba at lists.samba.org> wrote:
> On Fri, 10 Feb 2017 11:55:04 +0100
> Patrik <alabard at gmail.com> wrote:
>
> > 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";
>
> And the contents ??
>
> >
> > *Is it I just have to remove dnsupdate???*
>
> NO
>
> >
> > [homes]
> > comment = Home Directories
> > browseable = no
> > valid users = %S
>
> Obviously not seen that '[homes]' doesn't work on a DC, see
here:
>
> https://wiki.samba.org/index.php/User_Home_Folders
>
> Rowland
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>