Difference between revisions of "Talk:PowerDNS LDAP Backend/Installation"

From Linuxnetworks
Jump to: navigation, search
(New page: Hi I am tring to install powerdns with ldap backend. I use debian etch: I downloaded pdns-2.9.21 I installed libldap2-dev then I did ./configure --prefix=/usr/local/pdns --with-modules= --...)
 
Line 1: Line 1:
 
Hi I am tring to install powerdns with ldap backend.
 
Hi I am tring to install powerdns with ldap backend.
 +
 
I use debian etch:
 
I use debian etch:
 +
 
I downloaded pdns-2.9.21
 
I downloaded pdns-2.9.21
 +
 
I installed libldap2-dev
 
I installed libldap2-dev
 +
 
then I did
 
then I did
 
./configure --prefix=/usr/local/pdns --with-modules= --with-dynmodules=ldap
 
./configure --prefix=/usr/local/pdns --with-modules= --with-dynmodules=ldap
 +
 
make  
 
make  
 +
 
make install.
 
make install.
 +
 +
  
 
in /usr/local/pdns/etc/pdns.conf
 
in /usr/local/pdns/etc/pdns.conf
 
I added.
 
I added.
 
ldap-host (default "ldap://127.0.0.1:389/")
 
ldap-host (default "ldap://127.0.0.1:389/")
 +
 
ldap-basedn (default "ou=hosts,dc=exemple,dc=net")
 
ldap-basedn (default "ou=hosts,dc=exemple,dc=net")
 +
 
ldap-binddn (default "cn=admin,dc=exemple,dc=net")
 
ldap-binddn (default "cn=admin,dc=exemple,dc=net")
 +
 
ldap-secret (default "password")
 
ldap-secret (default "password")
 +
 
ldap-method (default "simple")
 
ldap-method (default "simple")
 +
  
 
and I get this error in /varf/log/syslog:
 
and I get this error in /varf/log/syslog:

Revision as of 15:15, 29 April 2008

Hi I am tring to install powerdns with ldap backend.

I use debian etch:

I downloaded pdns-2.9.21

I installed libldap2-dev

then I did ./configure --prefix=/usr/local/pdns --with-modules= --with-dynmodules=ldap

make

make install.


in /usr/local/pdns/etc/pdns.conf I added. 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
Thanks