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 #12977] Adding an empty user backend fails #2598

Closed
icinga-migration opened this issue Oct 25, 2016 · 0 comments · Fixed by #2778
Closed

[dev.icinga.com #12977] Adding an empty user backend fails #2598

icinga-migration opened this issue Oct 25, 2016 · 0 comments · Fixed by #2778
Assignees
Labels
bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/12977

Created by twidhalm on 2016-10-25 08:43:06 +00:00

Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-10-25 08:43:06 +00:00 (in Redmine)


Hi,

We have Icinga Web 2 with LDAP as authentication backend. Some time later we want local Icinga Web 2 users, too and add a MySQL database as a user backend. Validation of the empty backend fails and adding has to be forced

Steps to reproduce:

  • Set up Icinga Web 2 with LDAP as authentication backend
  • Create a MySQL Database and import /usr/share/doc/icingaweb2/schema/mysql.schema.sql
  • Add this database as a resource to Icinga Web 2
  • Add this resource as a user backend

Validation of the new backend fails. The detail area shows that the connection is successful but the check fails with the message that 0 active users exist.

When I already have a working backend and add a new one where I want to add my local users, having 0 active is what I'd expect. :-)

While this works when I enforce saving the new backend it would be nice if Icinga Web 2 recognized that there is already a working backend and the new one is a local one. So having 0 active users is not an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants