Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: BIND +MySQL инструмент?


  • Subject: Re: lug-bg: BIND +MySQL инструмент?
  • From: Vesselin Kolev <vlk@xxxxxxxxxxxxxxxxx>
  • Date: Sun, 10 Oct 2004 17:03:46 +0300

Огнян Кулев wrote:


Защо тази кръпка не е в самия BIND?

Ето и самата кръпка:

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");



  Поздрави
    Весо


============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.