You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix that LDAP encryption settings have no effect
I renamed the directive for the encryption setting from 'connection' to 'encryption' before releasing Beta3 but
I forgot to change the Connection class accordingly.
fixes #8953
The text was updated successfully, but these errors were encountered:
Updated by elippmann on 2015-04-02 07:24:33 +00:00
Subject changed from Ldaps setting not correctly picked up in icingaweb2 beta3 to LDAP encryption settings have no effect
Category changed from Installation to Configuration
Target Version set to 2.0.0-rc1
Hi,
Thanks for the report. I renamed connection to encryption before releasing beta3 and forgot to change the class. I'll fix it in a second. Thanks for the report.
This issue has been migrated from Redmine: https://dev.icinga.com/issues/8953
Created by schans on 2015-04-01 23:49:34 +00:00
Assignee: (none)
Status: Resolved (closed on 2015-04-02 08:45:11 +00:00)
Target Version: 2.0.0-rc1
Last Update: 2015-04-02 08:45:11 +00:00 (in Redmine)
Hi,
The ldaps setting is stored in the /etc/icingaweb2/resources.ini file as:
encryption = "ldaps"
The ldap connection driver in /usr/share/php/Icinga/Protocol/Ldap/Connection.php looks for the setting "connection" on line 89:
$this~~connectionType = $config~~>get('connection');
The easiest fix seems to be to change the line to:
$this~~connectionType = $config~~>get('encryption');
Or the setting should be stored as:
connection = "ldaps"
Regards,
Bart
Changesets
2015-04-02 08:41:25 +00:00 by elippmann 9ce9e02
The text was updated successfully, but these errors were encountered: