diff -Nru bind-9.2.3.ORIG/bin/named/Makefile.in bind-9.2.3/bin/named/Makefile.in --- bind-9.2.3.ORIG/bin/named/Makefile.in 2004-02-19 23:58:40.000000000 +0100 +++ bind-9.2.3/bin/named/Makefile.in 2004-02-19 23:08:45.000000000 +0100 @@ -26,10 +26,10 @@ # # 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 CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include \ ${LWRES_INCLUDES} ${DNS_INCLUDES} \ diff -Nru bind-9.2.3.ORIG/bin/named/main.c bind-9.2.3/bin/named/main.c --- bind-9.2.3.ORIG/bin/named/main.c 2004-02-19 23:58:40.000000000 +0100 +++ bind-9.2.3/bin/named/main.c 2004-02-19 23:22:42.000000000 +0100 @@ -63,7 +63,7 @@ /* * Include header files for database drivers here. */ -/* #include "xxdb.h" */ +#include <ldapdb.h> static isc_boolean_t want_stats = ISC_FALSE; static char program_name[ISC_DIR_NAMEMAX] = "named"; @@ -543,7 +543,7 @@ /* * Add calls to register sdb drivers here. */ - /* xxdb_init(); */ + ldapdb_init(); ns_server_create(ns_g_mctx, &ns_g_server); } @@ -557,7 +557,7 @@ /* * Add calls to unregister sdb drivers here. */ - /* xxdb_clear(); */ + ldapdb_clear(); isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN, ISC_LOG_NOTICE, "exiting");