pdns ldap backend not working

Bug #1474789 reported by Jan Groenewald
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pdns (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

pdns-backend-ldap has not worked out of the box on 10.04, 12.04, 14.04.

root@aimsns4_01:/var/log# tail -f syslog
Jul 15 08:47:45 aimsns4_01 pdns[5688]: Our pdns instance exited with code 1
Jul 15 08:47:45 aimsns4_01 pdns[5688]: Respawning
Jul 15 08:47:46 aimsns4_01 pdns[26369]: Guardian is launching an instance
Jul 15 08:47:46 aimsns4_01 pdns[26369]: Reading random entropy from '/dev/urandom'
Jul 15 08:47:46 aimsns4_01 pdns[26369]: This is a guarded instance of pdns
Jul 15 08:47:46 aimsns4_01 pdns[26369]: Fatal error: Trying to set unexisting parameter 'ldap-host'
^C
root@aimsns4_01:/var/log# cd /etc/powerdns/
root@aimsns4_01:/etc/powerdns# tail pdns.conf
launch=ldap
ldap-host=ldapi:///
ldap-method=simple
ldap-basedn=dc=aims,dc=ac,dc=za
ldap-basedn-axfr-override=yes
ldap-filter-lookup=(&(:target:)(objectclass=dnsdomain2)(!(objectclass=dhcphost)))
ldap-filter-axfr=(&(:target:)(objectclass=dnsdomain2)(!(objectclass=dhcphost)))

include-dir=/etc/powerdns/pdns.d
root@aimsns4_01:/etc/powerdns# lsb_release -d
Description: Ubuntu 14.04.2 LTS
root@aimsns4_01:/etc/powerdns#

Note the upstream but report may or may not need to go to powerdns devs, as the LDAP support was dropped in 2011 when a maintainer left, then forked late 2012. I can't tell whether the pdns-backend-ldap package in Debian/Ubuntu comes from pdns or from the fork.

http://www.openldap.org/lists/openldap-technical/201104/msg00347.html
http://mailman.powerdns.com/pipermail/pdns-users/2012-December/009476.html
http://repo.or.cz/w/pdns-ldap-backend.git

Ref
https://wiki.debian.org/LDAP/PowerDNSSetup

Revision history for this message
Peter van Dijk (habbie) wrote :

This actually looks like the ldap backend is not launching at all - is there anything in /etc/powerdns/pdns.d overriding the launch line?

The fork was upstreamed, partially, just months ago, so what you have is the unforked stuff, to be clear.

Changed in pdns (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pdns (Ubuntu) because there has been no activity for 60 days.]

Changed in pdns (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.