[Samba] Bind9 dlopen version

Günter Kukkukk linux at kukkukk.com
Thu Dec 15 09:36:23 MST 2011


On Sunday 11 December 2011 15:58:31 Davy Loose wrote:
> Hey guys,
> 
> I'm currently using Ubuntu 10.04 for setting up Samba4 and I'm having a
> problem with the dlz_dlopen driver.
> 
> I've installed Bind9 from hauke
> (https://launchpad.net/~hauke/+archive/bind9) because the bind9 version
> from the apt-get didn't give me the correct version.
> 
> I've included the /usr/local/samba/private/named.conf file in my
> /etc/bind/named.conf, but on starting the bind9 service I get the
> following message:
> 
> dlz_dlopen: incorrect version 1 should be 2 in
> '/usr/local/samba/modules/bind9/dlz_bind9.so'
> 
> Does anybody have any idea how to fix this problem.
> 
> Thank you.

Those 9.9.0.x versions are beta ones from isc.org.
Stable is 9.8.1-P1.

The beta 9.9.0.x needs a change in the samba4 source in
source4/dns_server/dlz_minimal.h 
#define DLZ_DLOPEN_VERSION 1 ----> #define DLZ_DLOPEN_VERSION 2
and a re-build of samba4 is needed.

Cheers, Günter


More information about the samba mailing list