[Samba] samba 4 named. dlz_bind9.so not found

Adam Tauno Williams awilliam at whitemice.org
Tue Dec 6 08:47:11 MST 2011

On Sun, 2011-12-04 at 08:45 +0000, Marcel Ritter wrote:
> the last configuration is the correct one.
> However you may have to set LD_LIBRARY_PATH to the
> directory containing libsamdb.so.0 (or other libraries it may complain
> about during startup).

I'm also using bind-9.8.1 on openSUSE 12.1 x86_64 and seeing something
like the same problem.

I run bind as -
  named -4 -c /etc/named.conf -g -u named -d  65535

06-Dec-2011 10:43:20.486 Loading 'AD DNS Zone' using driver dlopen
06-Dec-2011 10:43:20.486 Loading SDLZ driver.
06-Dec-2011 10:43:20.562 samba_dlz: Failed to connect
to /opt/s4/private/dns/sam.ldb
06-Dec-2011 10:43:20.563 dlz_dlopen of 'AD DNS Zone' failed
06-Dec-2011 10:43:20.563 SDLZ driver failed to load.
06-Dec-2011 10:43:20.563 DLZ driver failed to load.

Does that mean it loaded the samba_dlz driver?  [I have /opt/s4/lib
in /etc/ld.so.conf.d/s4.conf, and have run /sbin/ldconfig]

The group named has rw- for /opt/s4/private/dns/sam.ldb

It doesn't seem terribly informative.

More information about the samba mailing list