diff -up bind-9.8.1-P1/bin/named/main.c.orig bind-9.8.1-P1/bin/named/main.c --- bind-9.8.1-P1/bin/named/main.c.orig 2011-03-11 08:47:00.000000000 +0200 +++ bind-9.8.1-P1/bin/named/main.c 2011-12-30 17:12:01.500804392 +0200 @@ -81,7 +81,7 @@ /* * Include header files for database drivers here. */ -/* #include "xxdb.h" */ +#include <ldapdb.h> #ifdef CONTRIB_DLZ /* @@ -857,7 +857,7 @@ setup(void) { /* * Add calls to register sdb drivers here. */ - /* xxdb_init(); */ + ldapdb_init(); #ifdef ISC_DLZ_DLOPEN /* @@ -893,7 +893,7 @@ cleanup(void) { /* * Add calls to unregister sdb drivers here. */ - /* xxdb_clear(); */ + ldapdb_clear(); #ifdef CONTRIB_DLZ /* diff -up bind-9.8.1-P1/bin/named/Makefile.in.orig bind-9.8.1-P1/bin/named/Makefile.in --- bind-9.8.1-P1/bin/named/Makefile.in.orig 2011-03-11 01:47:25.000000000 +0200 +++ bind-9.8.1-P1/bin/named/Makefile.in 2011-12-30 17:12:01.500804392 +0200 @@ -28,10 +28,10 @@ top_srcdir = @top_srcdir@ # # Add database drivers here. # -DBDRIVER_OBJS = -DBDRIVER_SRCS = -DBDRIVER_INCLUDES = -DBDRIVER_LIBS = +DBDRIVER_OBJS = ldapdb.@O@ +DBDRIVER_SRCS = ldapdb.c +DBDRIVER_INCLUDES = -I${srcdir}/include +DBDRIVER_LIBS = -L${srcdir}/lib -lldap -llber -lresolv DLZ_DRIVER_DIR = ${top_srcdir}/contrib/dlz/drivers