I was out sick from work for a few days and while I was out, LibreNMS had updated to 1.43-82 which has resulted in Active Directory users unable to see any devices. AD users are still recognized as level 10 in the CLI however.
Firstly, I’ve seen the related posts, “Unable to use Active Directory authentication after update to Laravel authentication” and “AD Admin user not an admin”
But running daily.sh
does not fix the issue for me even after restarting httpd or the entire system.
System information:
# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core)
$ ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS | 1.43-82-gcf31776
DB Schema | 267
PHP | 7.1.21
MySQL | 5.5.60-MariaDB
RRDTool | 1.4.8
SNMP | NET-SNMP 5.7.2
====================================
[OK] Composer Version: 1.7.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
$ ./scripts/auth_test.php -u myusername
Authentication Method: active_directory
AD bind success
Password:
Authenticate user myusername:
AUTH SUCCESS
User (1512041):
user_id => 1512041
username => myusername
realname => My User Name
email => [email protected]
descr =>
level => 10
can_modify_passwd => 0
Groups: CN=it_admins,DC=mydomain,DC=com
Please let me know if I can provide you with any further information.