Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
Debian GNU/Linux 7 (wheezy), Observium r5164, Windows Active Directory (servers 2008, 2008 r2, 2012)
Description
When logging in using LDAP authentication access level is always 0.
I have narrowed this down to auth_user_level function not being called or exiting at the if statement.
The easiest way for me to confirm this was to add a
print_debug(echo("auth_user_level is running"));
|
just inside the if and enable debugging. While the rest of the LDAP debugging displayed, this never echoed to the screen, the group(s) never displayed, and the user(s) never were granted an access level higher than 0
I have attached the sanitized ldap section of my config.php. I altered none of the lines beyond swapping domain names and passwords.
When logging in as a level 1 user no access is granted to any of the allowed devices or interfaces still. Upon further inspection this is because it is looking for a user with the ID of "-1" When logging in as a level 10 user I can verify that the user id of all the level 1 and level 10 users is set correctly to the last portion of their objectSID from Active Directory so it is something later, building the query or setting the session that is still broken.