Talk:PowerDNS LDAP Backend/Installation
From Linuxnetworks
Parameter in config file
Hi I am tring to install powerdns with ldap backend. In /usr/local/pdns/etc/pdns.conf I added.
- launch=ldap
- 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
The correct syntax is:
- launch=ldap
- ldap-host=ldap://127.0.0.1:389/
- ldap-basedn=ou=hosts,dc=exemple,dc=net
- ldap-binddn=cn=admin,dc=exemple,dc=net
- ldap-secret=password
- ldap-method=simple
Keyword and value must be separated by an equal sign.
--Nose 00:25, 1 May 2008 (CEST)