[Samba] Samba4: Incorrect version of dlz_bind9.so

Mathias Friman mathias.friman at knorca.se
Sat Feb 4 13:22:02 MST 2012


Hi list!

I follow the Samba 4 HOWTO on Ubuntu 10.04,

git ok
make ok
make install ok
make ok (needed for provision to work, even though i use the installed provision)
/usr/local/samba/sbin/provision --realm=samdom.example.com --domain=SAMDOM --adminpass=SOMEPASSWORD --server-role='domain controller' ok

added "domain samdom.example.com" to resolv.conf

When starting Bind 9.9.0b1 installed from http://ppa.launchpad.net/hauke/bind9/ I get:

Feb  4 20:11:10 vm1 named[22249]: starting BIND 9.9.0b1 -u bind
Feb  4 20:11:10 vm1 named[22249]: built with '--prefix=/usr' '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var/run/bind' '--enable-threads' '--enable-largefile' '--enable-shared' '--enable-static' '--with-libtool' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-dlz-postgres=no' '--with-dlz-mysql=no' '--with-dlz-bdb=yes' '--with-dlz-filesystem=yes' '--with-dlz-ldap=no' '--with-dlopen=yes' '--with-dlz-stub=yes' '--enable-ipv6' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O3' 'LDFLAGS=-Wl,-Bsymbolic-functions' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' 'FFLAGS=-g -O2'
Feb  4 20:11:10 vm1 named[22249]: adjusted limit on open files from 1024 to 1048576
Feb  4 20:11:10 vm1 named[22249]: found 1 CPU, using 1 worker thread
Feb  4 20:11:10 vm1 named[22249]: using up to 4096 sockets
Feb  4 20:11:10 vm1 named[22249]: loading configuration from '/etc/bind/named.conf'
Feb  4 20:11:10 vm1 named[22249]: reading built-in trusted keys from file '/etc/bind/bind.keys'
Feb  4 20:11:10 vm1 named[22249]: using default UDP/IPv4 port range: [1024, 65535]
Feb  4 20:11:10 vm1 named[22249]: using default UDP/IPv6 port range: [1024, 65535]
Feb  4 20:11:10 vm1 named[22249]: listening on IPv6 interfaces, port 53
Feb  4 20:11:10 vm1 named[22249]: listening on IPv4 interface lo, 127.0.0.1#53
Feb  4 20:11:10 vm1 named[22249]: listening on IPv4 interface eth0, 192.168.1.101#53
Feb  4 20:11:10 vm1 named[22249]: generating session key for dynamic DNS
Feb  4 20:11:10 vm1 named[22249]: sizing zone task pool based on 5 zones
Feb  4 20:11:11 vm1 named[22249]: Loading 'AD DNS Zone' using driver dlopen
Feb  4 20:11:11 vm1 named[22249]: dlz_dlopen: incorrect version 1 should be 2 in '/usr/local/samba/lib/bind9/dlz_bind9.so'
Feb  4 20:11:11 vm1 named[22249]: dlz_dlopen of 'AD DNS Zone' failed
Feb  4 20:11:11 vm1 named[22249]: SDLZ driver failed to load.
Feb  4 20:11:11 vm1 named[22249]: DLZ driver failed to load.
Feb  4 20:11:11 vm1 named[22249]: loading configuration: failure
Feb  4 20:11:11 vm1 named[22249]: exiting (due to fatal error)

Version of "/usr/local/samba/lib/bind9/dlz_bind9.so" should be 2.

I'm stumped, what should I do?

Kindest regards
Mathias


More information about the samba mailing list