← Back to team overview

aims team mailing list archive

[Bug 1474789] Re: pdns ldap backend not working

 

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.

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

Title:
  pdns ldap backend not working

Status in pdns package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdns/+bug/1474789/+subscriptions