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
>
Rowland Penny
2017-Feb-10  11:32 UTC
[Samba] /usr/sbin/samba_dnsupdate: ERROR: Record already exist
On Fri, 10 Feb 2017 12:18:35 +0100 Patrik <alabard at gmail.com> wrote:> Thanks so much! I will deal with the user home folders later! > *Here is the DNS:*These are mine: /etc/bind/named.conf include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.local"; include "/etc/bind/named.conf.default-zones"; /etc/bind/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.0.0/24; }; allow-recursion { 192.168.0.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.0.2; 127.0.0.1; }; tkey-gssapi-keytab "/usr/local/samba/private/dns.keytab"; }; /etc/bind/named.conf.local include "/usr/local/samba/private/named.conf"; I compile samba myself, so the '/usr/local/samba' paths will probably be different for you.> zone "patrikx3.tk" { > type master; > file "/etc/bind/zones/db.patrikx3.tk"; > }; > > zone "corifeus.tk" { > type master; > file "/etc/bind/zones/db.corifeus.tk"; > }; >> dlz "AD DNS Zone" { > database "dlopen > /usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_10.so"; > }; >Not entirely sure which of your 'named' files the above are in, but you should remove them, they are your problem. You shouldn't have the 'patrikx3' zone in a conf file, it is in AD and dlz will connect Bind to Samba You shouldn't have any other forward zone in Bind. Rowland
Patrik
2017-Feb-10  12:23 UTC
[Samba] /usr/sbin/samba_dnsupdate: ERROR: Record already exist
*Not entirely sure which of your 'named' files the above are in, but youshould remove them, they are your problem.* Where is the named files?? You mean the zone/patrikx3.tk? *You shouldn't have the 'patrikx3' zone in a conf file, it is in AD anddlz will connect Bind to Samba**You shouldn't have any other forward zone in Bind.* How can I add in other in the patrikx3.tk if I use the Samba? Isn't it another zone? ac.patrikx3.tk? patrikx3.tk is my mail.patrikx3.tk, www.patrikx3.tk etc... *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:32 PM, Rowland Penny via samba < samba at lists.samba.org> wrote:> On Fri, 10 Feb 2017 12:18:35 +0100 > Patrik <alabard at gmail.com> wrote: > > > Thanks so much! I will deal with the user home folders later! > > *Here is the DNS:* > > These are mine: > > /etc/bind/named.conf > > include "/etc/bind/named.conf.options"; > include "/etc/bind/named.conf.local"; > include "/etc/bind/named.conf.default-zones"; > > /etc/bind/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.0.0/24; }; > allow-recursion { 192.168.0.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.0.2; 127.0.0.1; }; > tkey-gssapi-keytab "/usr/local/samba/private/dns.keytab"; > }; > > /etc/bind/named.conf.local > > include "/usr/local/samba/private/named.conf"; > > I compile samba myself, so the '/usr/local/samba' paths will probably > be different for you. > > > zone "patrikx3.tk" { > > type master; > > file "/etc/bind/zones/db.patrikx3.tk"; > > }; > > > > zone "corifeus.tk" { > > type master; > > file "/etc/bind/zones/db.corifeus.tk"; > > }; > > > > > dlz "AD DNS Zone" { > > database "dlopen > > /usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_10.so"; > > }; > > > > Not entirely sure which of your 'named' files the above are in, but you > should remove them, they are your problem. > > You shouldn't have the 'patrikx3' zone in a conf file, it is in AD and > dlz will connect Bind to Samba > > You shouldn't have any other forward zone in Bind. > > Rowland > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >