[Pdns-users] installing ldap as backend

Jignesh Patel jigneshmpatel at gmail.com
Sun Mar 17 22:43:38 UTC 2013


I am trying to run powerdns on amazon server with openldap integration.
I have installed following two packages
sudo yum list | grep pdns
pdns.x86_64                           3.1-2.el6                    @epel

pdns-backend-ldap.x86_64              3.1-2.el6                    @epel

openldap is running efficiently.

However when I am trying to run powerdns with ldap by putting following
parameters in /etc/pdns/pdns.conf
#allow-recursion-override=on
#irecursor=127.0.0.1
#lazy-recursion=yes
launch=ldap
ldap-host = ldap://127.0.0.1:389/
ldap-basedn = ""
ldap-binddn=""
ldap-starttls=no
ldap-secret=groupmd123
ldap-method=simple
#ldap-filter-axfr="(:target:)"
#ldap-filter-lookup="(:target:)"

after a while I see following message in /var/log/messages file

Mar 17 22:39:32 ip-10-190-102-20 pdns[19195]: Respawning
Mar 17 22:39:33 ip-10-190-102-20 pdns[19849]: Guardian is launching an
instance
Mar 17 22:39:33 ip-10-190-102-20 pdns[19849]: Reading random entropy from
'/dev/urandom'
Mar 17 22:39:33 ip-10-190-102-20 pdns[19849]: This is a guarded instance of
pdns
Mar 17 22:39:33 ip-10-190-102-20 pdns[19849]: Fatal error: Trying to set
unexisting parameter 'ldap-host '

So how to set LDAP parameter. I have not configured powerdns manually but I
used yum to install pens-backend-ldap and by default it installed powerdns.

Please suggest me how to make pdns working with openldap.

And is it possible to configure powerdns-webinterface with openldap as
backend.
http://code.google.com/p/powerdns-webinterface/downloads/list

-Jignesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20130317/49a4c97a/attachment.html>


More information about the Pdns-users mailing list