|
bind9 with ldap using dlz
Hello guys, can anyone help me with the below error I'm getting from bind9? I'm trying to make bind read all the zone info from openldap, I have already created the schema and I've put some info into the ldap. I have also tried to google the error with no success.
I'm aware there is an problem using %zone% tags (the % is the problem) and I think there is a patch or something to put it as $zone$.
Is that problem related to this error? I'm asking because I'm unsure if this has already been fixed.
My OS in a Debian
cat /etc/debian_version
5.0.2
from /var/log/ daemon.log
Code:
Aug 31 14:53:16 lab1 named[3215]: starting BIND 9.5.1-P3 -u bind
Aug 31 14:53:16 lab1 named[3215]: found 2 CPUs, using 2 worker threads
Aug 31 14:53:16 lab1 named[3215]: using up to 4096 sockets
Aug 31 14:53:16 lab1 named[3215]: loading configuration from '/etc/bind/named.conf'
Aug 31 14:53:16 lab1 named[3215]: max open files (1024) is smaller than max sockets (4096)
Aug 31 14:53:16 lab1 named[3215]: using default UDP/IPv4 port range: [1024, 65535]
Aug 31 14:53:16 lab1 named[3215]: using default UDP/IPv6 port range: [1024, 65535]
Aug 31 14:53:16 lab1 named[3215]: listening on IPv6 interfaces, port 53
Aug 31 14:53:16 lab1 named[3215]: listening on IPv4 interface lo, 127.0.0.1#53
Aug 31 14:53:16 lab1 named[3215]: listening on IPv4 interface eth0, 192.168.1.101#53
Aug 31 14:53:16 lab1 named[3215]: Loading 'ldap zone' using driver ldap
Aug 31 14:53:16 lab1 named[3215]: parsing allow zone transfer query failed
Aug 31 14:53:16 lab1 named[3215]: SDLZ driver failed to load.
Aug 31 14:53:16 lab1 named[3215]: DLZ driver failed to load.
Aug 31 14:53:16 lab1 named[3215]: loading configuration: failure
Aug 31 14:53:16 lab1 named[3215]: exiting (due to fatal error)
cat /etc/bind/named.conf.local
Code:
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
dlz "ldap zone" {
database "ldap 2
v3 simple {cn=admin,dc=domain,dc=com} {pass} {127.0.0.1}
ldap:///DNSZoneName=_zone_,ou=dns,o=...tclass=DNSZone
ldap:///DNSHostName=%record%,DNSZone...(!(DNSType=soa)))
ldap:///DNSHostName=@,DNSZoneName=%z...d)(DNSType=soa))
ldap:///DNSZoneName=%zone%,ou=dns,o=...(!(DNSType=soa)))
ldap:///DNSZoneName=%zone%,ou=dns,o=...PAddr=%client%))";
};
Last edited by yered; 09-02-2009 at 01:46 PM..
|