Talk:PowerDNS LDAP Backend/Installation

From Linuxnetworks
Jump to: navigation, search

Hi I am tring to install powerdns with ldap backend.

I use debian etch:

I downloaded pdns-2.9.21

I installed libldap2-dev

then I did ./configure --prefix=/usr/local/pdns --with-modules= --with-dynmodules=ldap

make

make install.


in /usr/local/pdns/etc/pdns.conf I added. ldap-host (default "ldap://127.0.0.1:389/")

ldap-basedn (default "ou=hosts,dc=exemple,dc=net")

ldap-binddn (default "cn=admin,dc=exemple,dc=net")

ldap-secret (default "password")

ldap-method (default "simple")


and I get this error in /varf/log/syslog:

Respawning
pdns[30325]: Guardian is launching an instance
pdns[30325]: This is a guarded instance of pdns
pdns[30325]: Fatal error: Trying to set unexisting parameter 'ldap-host (default "ldap://127.0.0.1:389/")'
pdns[22533]: Our pdns instance exited with code 1
Thanks