I have icinga web 2 installed, working and logging at DEBUG level. I set up database authentication first and that worked fine. Then I set up AD authentication and while that works fine, now IW2 seems to ignore the users that exist only in DB authentication.
I tried removing the AD and changing the order of auth types authentication.ini and restart, but in any order, when I check the log file, I don’t see any evidence that IW2 ever tries database authentication. Previously I would see a logged message like:
2019-06-25T13:54:18-04:00 - DEBUG - Groups found in backend “icingaweb2_db” for user “local_only”: Administrators
However that seems to be after a successful auth, not the auth attempt itself. Now I see nothing logged during a login attemp. On the UI I get “Incorrrect username or password” for all DB users. I also tried deleting and recreating the local users.
In the UI, both the User and User Group backends validate. However I can only run that validation with AD login active, as I can’t login as the local admin user.
- How can I have it log attempts to authenticate to the database?
- The install documentation says chaining authentication types should work. Is there more to it then simply two entries in authentication.ini (assuming each work individually?)