← Back to team overview

aims team mailing list archive

[Bug 1474789] [NEW] pdns ldap backend not working

 

You have been subscribed to a public bug by Jan Groenewald (jan-aims):

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

** Affects: pdns (Ubuntu)
     Importance: Undecided
         Status: New

-- 
pdns ldap backend not working
https://bugs.launchpad.net/bugs/1474789
You received this bug notification because you are a member of AIMS, which is subscribed to the bug report.