Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155743 - net-dns/bind-9.3.2-r4 does not know database type 'ldap'
Summary: net-dns/bind-9.3.2-r4 does not know database type 'ldap'
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-20 00:49 UTC by Reto Leuenberger
Modified: 2006-12-17 07:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reto Leuenberger 2006-11-20 00:49:03 UTC
I installed BIND 9.3.2-r4 with the following USE flags:

USE="dlz doc idn ipv6 ldap ssl -berkdb -mysql -odbc -postgres (-selinux) -threads"

Then a setup a the config. It works fine with normal zone files... I switched one zone to LDAP:

zone "unix.sea" IN {
   type master;
   database "ldap ldap://127.0.0.1/ou=hosts,dc=unix,dc=sea 86400";
};

When I start the BIND daemon I get the followong error:

Nov 19 13:40:47 triggerfish named[4092]: starting BIND 9.3.2-P1 -u named -n 1
Nov 19 13:40:47 triggerfish named[4092]: loading configuration from '/etc/bind/named.conf'
Nov 19 13:40:47 triggerfish named[4092]: listening on IPv4 interface eth0, 192.168.1.10#53
Nov 19 13:40:47 triggerfish named[4092]: listening on IPv4 interface lo, 127.0.0.1#53
Nov 19 13:40:47 triggerfish named[4092]: command channel listening on 127.0.0.1#953
Nov 19 13:40:47 triggerfish named[4092]: command channel listening on ::1#953
Nov 19 13:40:47 triggerfish named[4092]: zone 127.in-addr.arpa/IN: loaded serial 2006062502
Nov 19 13:40:47 triggerfish named[4092]: zone 1.168.192.in-addr.arpa/IN: loaded serial 2006062504
Nov 19 13:40:47 triggerfish named[4092]: zone localhost/IN: loaded serial 2006062502
Nov 19 13:40:47 triggerfish named[4092]: unsupported database type 'ldap'
Nov 19 13:40:47 triggerfish named[4092]: zone unix.sea/IN: loading zone: creating database: not found
Nov 19 13:40:47 triggerfish named[4092]: running

Is it possible that the LDAP patch does not work as expected?
Comment 1 Konstantin Arkhipov (RETIRED) gentoo-dev 2006-12-17 07:54:06 UTC
your configuration is slightly wrong. please, refer to dlz's documentation page:

http://bind-dlz.sourceforge.net/ldap_driver.html