Hello,
Since few days, I can’t log on my LibreNMS with account member of:
$config[‘auth_ad_groups’][‘GG_LibreNMS’][‘level’] = 10;
I have tried with FQDN same result.
When I use the test script:
./scripts/auth_test.php -l
Authentication Method: active_directory
Success
Could not bind to AD, you will not be able to use the API or alert AD users
Users:
Total users: 0
]# ./scripts/auth_test.php -u my_user
Authentication Method: active_directory
Success
Could not bind to AD, you will not be able to use the API or alert AD users
Password:
Authenticate user my_user:
Error: LibreNMS\Exceptions\AuthenticationException thrown!
Invalid credentials
In debug mode, I saw nothing that can help but the connector try various group like member of ‘admin’ etc…
If I set $config[‘auth_ad_require_groupmembership’] = true; // false: allow all users to auth level 0
–> to false I can log on with my_user account but only at level 0 so my AD configuration seems to be good.
For information:
./validate.php
====================================
Component | Version |
---|---|
LibreNMS | 1.56-41-g1501f43 |
DB Schema | 2019_02_05_140857_remove_config_definition_from_db (145) |
PHP | 7.2.22 |
MySQL | 10.2.27-MariaDB |
RRDTool | 1.4.8 |
SNMP | NET-SNMP 5.7.2 |
====================================
[OK] Composer Version: 1.9.0
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
Thx for your help.