[icinga-checkins] icinga.org: icingaweb2/feature/deduplicate-puppet-code-6842: icingaweb2_dev: enable LDAP authentication

git at icinga.org git at icinga.org
Tue Nov 25 18:14:56 CET 2014


Module: icingaweb2
Branch: feature/deduplicate-puppet-code-6842
Commit: 0bec42930b3b4b45bda7b5696a3464ba7df938ab
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=0bec42930b3b4b45bda7b5696a3464ba7df938ab

Author: Alexander Klimov <alexander.klimov at netways.de>
Date:   Tue Nov 25 18:11:25 2014 +0100

icingaweb2_dev: enable LDAP authentication

---

 .../profiles/icingaweb2_dev/files/authentication.ini           |    6 ++++++
 .vagrant-puppet/profiles/icingaweb2_dev/files/resources.ini    |    8 ++++++++
 2 files changed, 14 insertions(+)

diff --git a/.vagrant-puppet/profiles/icingaweb2_dev/files/authentication.ini b/.vagrant-puppet/profiles/icingaweb2_dev/files/authentication.ini
index 2e78afb..96ae63c 100644
--- a/.vagrant-puppet/profiles/icingaweb2_dev/files/authentication.ini
+++ b/.vagrant-puppet/profiles/icingaweb2_dev/files/authentication.ini
@@ -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
diff --git a/.vagrant-puppet/profiles/icingaweb2_dev/files/resources.ini b/.vagrant-puppet/profiles/icingaweb2_dev/files/resources.ini
index 4b60b46..e76afab 100644
--- a/.vagrant-puppet/profiles/icingaweb2_dev/files/resources.ini
+++ b/.vagrant-puppet/profiles/icingaweb2_dev/files/resources.ini
@@ -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



More information about the icinga-checkins mailing list