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

steve steve at steve-ss.com
Sat Dec 3 16:40:39 MST 2011


Hi everyone

openSUSE 12.1
samba Version 4.0.0alpha18-GIT-30d4484

Following the wiki instructions for Samba 4, I added

  include "/usr/local/samba/private/named.conf";

to /etc/named.conf (the last line)

The logs give:

3 23:52:50 hh3 named[5743]: Loading 'AD DNS Zone' using driver dlopen
3 23:52:50 hh3 named[5743]: dlz_dlopen failed to open library 
'/usr/local/samba/modules/bind9/dlz_bind9.so' - 
/usr/local/samba/modules/bind. . .no such file. . .
3 23:52:50 hh3 named[5743]: dlz_dlopen of 'AD DNS Zone' failed
3 23:52:50 hh3 named[5743]: SDLZ driver failed to load.
3 23:52:50 hh3 named[5743]: DLZ driver failed to load.
3 23:52:50 hh3 named[5743]: loading configuration: failure
3 23:52:50 hh3 named[5743]: exiting (due to fatal error)
3 23:52:50 hh3 named[5689]: Starting name server BIND ..failed

The file is in the place it should be but named is chrooted and that 
path is not inside the jail. If that's correct, and the wiki is to stay 
the same then dlz_bind9.so should be copied to:

/var/lib/named/usr/local/samba/modules/bind9/

But if I do that, I now get another error:

Dec  4 00:26:12 hh3 named[5968]: Loading 'AD DNS Zone' using driver dlopen
Dec  4 00:26:12 hh3 named[5968]: dlz_dlopen failed to open library 
'/usr/local/samba/modules/bind9/dlz_bind9.so' - libsamdb.so.0: cannot 
open shared object file: No such file. . .
Dec  4 00:26:12 hh3 named[5968]: dlz_dlopen of 'AD DNS Zone' failed

Ahhgghh!

openSUSE makes it difficult to remove the chroot, which I think is the 
problem. Does anyone know how I can get around this?

Thanks.
Steve.


More information about the samba mailing list