Web lists-archives.com

Re: [Samba] Some strange errors in logs




Samba - General mailing list wrote
> Hai, 
> 
> cat "/var/lib/samba/private/named.conf"  also please. 
> And check if the correct bind9_dlz is enabled. 
> 
> dpkg -l | grep bind9
> Jessie, should be 9.9 
> Stretch should be 9.10
> If this server was upgraded then you need to manualy adjust the file
> above. 
> Looks to my bind9-dlz is enable in smb.conf but not loaded. 
> 
> cat /var/log/daemon.log | grep dlz
> You should see thing like: 
> samba_dlz: starting configure 
> samba_dlz: configured writeable zone '... 
> And make sure you see _msdcs.your.domain.tld 
> 
> 
> Greetz, 
> Louis

Hi Louis
Yes the system was upgraded from Jessie to Stretch on DC1 but DC2 was built
from scratch on Debian Stretch 9.2

/var/lib/samba/private/named.conf
dlz "AD DNS Zone" {
    # For BIND 9.8.x
    # database "dlopen /usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9.so";
    # For BIND 9.9.x
    # database "dlopen
/usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_9.so";
    # For BIND 9.10.x
     database "dlopen
/usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_10.so";
    # For BIND 9.11.x
    # database "dlopen
/usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_11.so";
};
dpkg -l | grep bind9 gives:

ii  bind9                             1:9.10.3.dfsg.P4-12.3+deb9u3   amd64       
Internet Domain Name Server
ii  bind9-host                        1:9.10.3.dfsg.P4-12.3+deb9u3   amd64       
Version of 'host' bundled with BIND 9.X
ii  bind9utils                        1:9.10.3.dfsg.P4-12.3+deb9u3   amd64       
Utilities for BIND
ii  libbind9-140:amd64                1:9.10.3.dfsg.P4-12.3+deb9u3   amd64       
BIND9 Shared Library used by BIND
ii  libbind9-90                       1:9.9.5.dfsg-9+deb8u14         amd64       
BIND9 Shared Library used by BIND

cat /var/log/daemon.log | grep dlz
don't give:
samba_dlz: starting configure 
samba_dlz: configured writeable zone 
but there are a lot of records about started, update, committed or denied
transactions. 

named -V
BIND 9.10.3-P4-Debian
---
Thanks
Mariusz



--
Sent from: http://samba.2283325.n4.nabble.com/Samba-General-f2403709.html

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