icingaweb2_dev: enable LDAP authentication

This commit is contained in:
Alexander Klimov 2014-11-25 18:11:25 +01:00
parent ef2758125b
commit 0bec42930b
2 changed files with 14 additions and 0 deletions

View File

@ -11,3 +11,9 @@ resource = icingaweb-mysql
[icingaweb-pgsql]
backend = db
resource = icingaweb-pgsql
[internal_ldap_authentication]
backend = ldap
resource = internal_ldap
user_class = inetOrgPerson
user_name_attribute = uid

View File

@ -33,3 +33,11 @@ port = 5432
password = icinga2
username = icinga2
dbname = icinga2
[internal_ldap]
type = ldap
hostname = localhost
port = 389
root_dn = "ou=people, dc=icinga, dc=org"
bind_dn = "cn=admin,cn=config"
bind_pw = admin