[Samba] bind9 Debian 10, samba_dlz: Failed to connect to Failed to connect to /var/lib/samba/private/dns/sam.ldb

Rowland penny rpenny at samba.org
Fri May 21 11:06:22 UTC 2021

On 21/05/2021 11:36, Mueller wrote:
> Yes it is a new provision:
> samba-tool domain provision --server-role=dc --use-rfc2307
> --dns-backend=BIND9_DLZ   --realm=XXX.LOC  --domain=XXXX --adminpass=XXXXX

The problem seems to have something to do with the way you have built 
Samba, do you have to build it yourself ? You can obtain up to date 
Debian packages here: https://apt.van-belle.nl/

> all done without any errors
> Paths:
>     SBINDIR: /usr/sbin
>     BINDIR: /usr/bin
>     CONFIGFILE: /etc/samba/smb.conf
>     LOGFILEBASE: /var/lib/log/samba
>     LMHOSTSFILE: /etc/samba/lmhosts
>     LIBDIR: /usr/lib64
>     DATADIR: /usr/share
>     SAMBA_DATADIR: /usr/share/samba
>     MODULESDIR: /usr/lib64/samba
>     SHLIBEXT: so
>     LOCKDIR: /var/lib/lock/samba
>     STATEDIR: /var/lib/lib/samba
>     CACHEDIR: /var/lib
>     PIDDIR: /var/run
>     SMB_PASSWD_FILE: /var/lib/samba/private/smbpasswd
>     PRIVATE_DIR: /var/lib/samba/private
>     BINDDNS_DIR: /var/lib/lib/samba/bind-dns

They appear to be the smbd build paths, what does 'samba -b' show ?


More information about the samba mailing list