Re: Bind-9.4.2 DLZ LDAP

Rob Butler <[email protected]>
Newsgroups gmane.network.dns.bind9.dlz
Message-ID <[email protected]>
your LDAP query isn't correct for the lookup query.  Post the DLZ section of your named.conf so we can help find the error.

Rob


----- Original Message ----
From: mirghany <[email protected]>
To: [email protected]
Sent: Wednesday, April 30, 2008 8:55:01 AM
Subject: [Bind-dlz-testers] Bind-9.4.2 DLZ LDAP

 
Dear ,
I tried to test bind-9.4.2 with DLZ and LDAP.
I recompile bind with DLZ LDAP option.
LDAP ...> OpenLDAP: slapd 2.3.27
and follow the example on http://bind-dlz.sourceforge.net/ldap_example.html
LDAP seems to be up and running also ldapsearch ok.
when I tried to start bind with   named -c /etc/named.conf  -d 20 -u 
named -g    I've got these logs:

[root@bindldap ~]# named -c /etc/named.conf  -d 20 -u named -g
30-Apr-2008 09:28:03.835 starting BIND 9.4.2 -c /etc/named.conf -d 20 -u 
named -g
30-Apr-2008 09:28:03.836 found 1 CPU, using 1 worker thread
30-Apr-2008 09:28:03.836 Registering DLZ ldap driver.
30-Apr-2008 09:28:03.837 Registering SDLZ driver 'ldap'
30-Apr-2008 09:28:03.837 Registering DLZ driver 'ldap'
30-Apr-2008 09:28:03.843 loading configuration from '/etc/named.conf'
30-Apr-2008 09:28:03.845 set maximum stack size to 4294967295: success
30-Apr-2008 09:28:03.845 set maximum data size to 4294967295: success
30-Apr-2008 09:28:03.845 set maximum core size to 4294967295: success
30-Apr-2008 09:28:03.845 set maximum open files to 1024: success
30-Apr-2008 09:28:03.846 listening on IPv4 interface lo, 127.0.0.1#53
30-Apr-2008 09:28:03.846 clientmgr @0xb7f7e008: create
30-Apr-2008 09:28:03.848 socket 0xb7f7eec8: created
30-Apr-2008 09:28:03.849 clientmgr @0xb7f7e008: createclients
30-Apr-2008 09:28:03.849 clientmgr @0xb7f7e008: create new
30-Apr-2008 09:28:03.850 client @0xb6113008: create
30-Apr-2008 09:28:03.851 socket 0xb7f80008: created
30-Apr-2008 09:28:03.851 clientmgr @0xb7f7e008: createclients
30-Apr-2008 09:28:03.851 clientmgr @0xb7f7e008: create new
30-Apr-2008 09:28:03.852 client @0xb60d2008: create
30-Apr-2008 09:28:03.853 listening on IPv4 interface eth0, 
212.103.160.190#53
30-Apr-2008 09:28:03.853 clientmgr @0xb7f7e1e0: create
30-Apr-2008 09:28:03.853 socket 0xb7f80148: created
30-Apr-2008 09:28:03.854 clientmgr @0xb7f7e1e0: createclients
30-Apr-2008 09:28:03.854 clientmgr @0xb7f7e1e0: create new
30-Apr-2008 09:28:03.855 client @0xb6091008: create
30-Apr-2008 09:28:03.855 socket 0xb7f80288: created
30-Apr-2008 09:28:03.856 clientmgr @0xb7f7e1e0: createclients
30-Apr-2008 09:28:03.856 clientmgr @0xb7f7e1e0: create new
30-Apr-2008 09:28:03.857 client @0xb6050008: create
30-Apr-2008 09:28:03.860 Loading 'ldap zone' using driver ldap
30-Apr-2008 09:28:03.861 Loading SDLZ driver.
30-Apr-2008 09:28:03.861 LDAP driver running multithreaded
30-Apr-2008 09:28:03.861 lookup query must specify a search base
30-Apr-2008 09:28:03.861 SDLZ driver failed to load.
30-Apr-2008 09:28:03.862 DLZ driver failed to load.
30-Apr-2008 09:28:03.862 calling free_rbtdb(.)
30-Apr-2008 09:28:03.862 done free_rbtdb(.)
30-Apr-2008 09:28:03.863 load_configuration: failure
30-Apr-2008 09:28:03.863 loading configuration: failure
30-Apr-2008 09:28:03.863 exiting (due to fatal error)


Any one have an Idea about that error in RED.

Also note when I tcpdump I could not find any trial from bind to 
communicate with LDAP even local server or another remote one. otherwise 
ldapsearch did.

Thanks




-- 
Ahmed El-Mirghany
Senior Systems Engineer
RHCE,LPI
T. E. Data
Mobile	+2(010)1608655
E-Mail:	[email protected] 


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
Bind-dlz-testers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bind-dlz-testers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.