Dear all
I’m having trouble with active directory authentication, when i try to login with one of the users that is part of the “librenms admins” group it gives me invalid credentials.
My config.php section looks like this:
### Authentication Model
$config['auth_mechanism'] = "active_directory"; # default, other options: ldap, http-auth
$config['auth_ad_url'] = 'ldap://10.0.100.40'; // Set server(s), space separated. Prefix $
$config['auth_ad_domain'] = 'domain.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
Does anyone have any idea what might go wrong in here?
If any of you managed to get the AD authentication, could you share your config with me please?
Thanks,
Marius.