--- bin/named/Makefile.in +++ bin/named/Makefile.in 2004/11/26 09:41:06 @@ -26,10 +26,10 @@ # # Add database drivers here. # -DBDRIVER_OBJS = -DBDRIVER_SRCS = +DBDRIVER_OBJS = ldapdb.@O@ +DBDRIVER_SRCS = ldapdb.c DBDRIVER_INCLUDES = -DBDRIVER_LIBS = +DBDRIVER_LIBS = -lldap CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include \ ${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \ --- bin/named/main.c +++ bin/named/main.c 2004/11/26 09:47:52 @@ -71,6 +71,7 @@ * Include header files for database drivers here. */ /* #include "xxdb.h" */ +#include static isc_boolean_t want_stats = ISC_FALSE; static char program_name[ISC_DIR_NAMEMAX] = "named"; @@ -647,6 +648,7 @@ * Add calls to register sdb drivers here. */ /* xxdb_init(); */ + ldapdb_init(); ns_server_create(ns_g_mctx, &ns_g_server); } @@ -663,6 +665,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");