Difference between revisions of "Talk:PowerDNS LDAP Backend/Installation"
From Linuxnetworks
(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= --...) |
(parameter in config file) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | == Parameter in config file == | ||
+ | |||
Hi I am tring to install powerdns with ldap backend. | 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-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: | ||
Line 21: | Line 16: | ||
pdns[30325]: Guardian is launching an instance | pdns[30325]: Guardian is launching an instance | ||
pdns[30325]: This is a guarded instance of pdns | 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[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 | 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. | ||
+ | |||
+ | --[[User:Nose|Nose]] 00:25, 1 May 2008 (CEST) |
Latest revision as of 23:25, 30 April 2008
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)