Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #8953] LDAP encryption settings have no effect #1549

Closed
icinga-migration opened this issue Apr 1, 2015 · 2 comments
Closed
Labels
area/configuration Affects the configuration bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

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

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
@icinga-migration
Copy link
Author

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.

Cheers,
Eric

@icinga-migration
Copy link
Author

Updated by elippmann on 2015-04-02 08:45:11 +00:00

  • Status changed from New to Resolved
  • Done % changed from 0 to 100

Applied in changeset 9ce9e02.

@icinga-migration icinga-migration added bug Something isn't working area/configuration Affects the configuration labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.0.0-rc1 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration Affects the configuration bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant