[Samba] samba_dlz: Failed to connect

Robert Moskowitz rgm at htt-consult.com
Thu Sep 3 17:38:55 UTC 2015


Progress on dns_dlz.  At least I got things loading.  If I don't include 
the dlz info bind starts, but if I do I get:

Sep 03 13:31:57 homebase.home.htt named[21920]: Loading 'AD DNS Zone' 
using driver dlopen
Sep 03 13:31:58 homebase.home.htt named[21920]: samba_dlz: Failed to 
connect to /var/lib/samba/private/dns/sam.ldb


permissions seem right:

# ls -ls /var/lib/samba/private/dns/sam*
2944 -rw-rw---- 1 root named 3014656 Aug 27 18:07 
/var/lib/samba/private/dns/sam.ldb

/var/lib/samba/private/dns/sam.ldb.d:
total 26312
8112 -rw-rw---- 1 root named 8306688 Aug 27 18:07 
CN=CONFIGURATION,DC=HOME,DC=HTT.ldb
8236 -rw-rw---- 1 root named 8433664 Aug 27 18:07 
CN=SCHEMA,CN=CONFIGURATION,DC=HOME,DC=HTT.ldb
4148 -rw-rw---- 2 root named 4247552 Aug 27 18:07 
DC=DOMAINDNSZONES,DC=HOME,DC=HTT.ldb
4148 -rw-rw---- 2 root named 4247552 Aug 27 18:07 
DC=FORESTDNSZONES,DC=HOME,DC=HTT.ldb
1256 -rw-rw---- 1 root named 1286144 Aug 27 18:07 DC=HOME,DC=HTT.ldb
  412 -rw-rw---- 2 root named  421888 Aug 28 12:02 metadata.tdb

The include is really simple:

dlz "AD DNS Zone" {

     # For BIND 9.9.x
      database "dlopen /usr/lib/samba/bind9/dlz_bind9_9.so";

};





More information about the samba mailing list