Hello,
====================================
Component | Version |
---|---|
LibreNMS | 21.1.0-29-gf9a379fa3 |
DB Schema | 2021_02_08_224355_fix_invalid_dates (199) |
PHP | 7.4.3 |
Python | 3.8.5 |
MySQL | 10.3.25-MariaDB-0ubuntu0.20.04.1 |
RRDTool | 1.7.2 |
SNMP | NET-SNMP 5.8 |
==================================== |
I’m trying to get AD authentication working, when I enable I get this PHP error:
This is my config:
### Authentication Model
$config['auth_mechanism'] = "active_directory"; # default, other options: ldap, http-auth
$config['auth_ad_url'] = 'ldap://10.10.10.10'; // Set server(s), space separated. Prefix $
$config['auth_ad_domain'] = 'dimain.local';
$config['auth_ad_base_dn'] = 'dc=domain,dc=local'; // groups and users must be$
$config['auth_ad_check_certificates'] = false; // require a valid ssl certificate
$config['auth_ad_binduser'] = '[email protected]'; // bind user (non-admi$
$config['auth_ad_bindpassword'] = 'password123'; // bind password
$config['auth_ad_timeout'] = 5; // time to wait before giving up ($
$config['auth_ad_debug'] = false; // enable for verbose debug messag$
$config['active_directory']['users_purge'] = 30; // purge users who haven't logged $
$config['auth_ad_require_groupmembership'] = true; // false: allow all users to auth $
$config['auth_ad_groups']['LibreNMS Admins']['level'] = 10; // set the "AD AdminGroup" group $
$config['auth_ad_groups']['librenms readers']['level'] = 5; // set the "AD UserGroup" group$
#
#$config['http_auth_guest'] = "guest"; # remember to configure this user if you use http-auth
Can you see anything wrong?
Thanks