Skip to content

Commit

Permalink
Consider root_dn' and base_dn' when installing config files
Browse files Browse the repository at this point in the history
refs #7163
  • Loading branch information
Johannes Meyer committed Oct 13, 2014
1 parent 437b41c commit 52016d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/Icinga/Application/WebInstaller.php
Expand Up @@ -163,6 +163,7 @@ protected function writeResourcesIni($configPath)
$resourceConfig[$this->pageData['setup_ldap_resource']['name']] = array(
'hostname' => $this->pageData['setup_ldap_resource']['hostname'],
'port' => $this->pageData['setup_ldap_resource']['port'],
'root_dn' => $this->pageData['setup_ldap_resource']['root_dn'],
'bind_dn' => $this->pageData['setup_ldap_resource']['bind_dn'],
'bind_pw' => $this->pageData['setup_ldap_resource']['bind_pw']
);
Expand Down Expand Up @@ -196,7 +197,7 @@ protected function writeAuthenticationIni($configPath)
$backendConfig[$this->pageData['setup_authentication_backend']['backend']] = array(
'backend' => $this->pageData['setup_authentication_backend']['backend'],
'resource' => $this->pageData['setup_ldap_resource']['name'],
//'root_dn' => $this->pageData['setup_ldap_resource']['root_dn'],
'base_dn' => $this->pageData['setup_authentication_backend']['base_dn'],
'user_class' => $this->pageData['setup_authentication_backend']['user_class'],
'user_name_attribute' => $this->pageData['setup_authentication_backend']['user_name_attribute']
);
Expand Down

0 comments on commit 52016d8

Please sign in to comment.