mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Added actual documentation for active_directory auth
This commit is contained in:
@@ -9,7 +9,9 @@ Here we will provide configuration details for these modules.
|
||||
|
||||
- LDAP: ldap
|
||||
|
||||
HTTP Auth: http-auth
|
||||
- Active Directory: active_directory
|
||||
|
||||
- HTTP Auth: http-auth
|
||||
|
||||
#### User levels
|
||||
|
||||
@@ -99,3 +101,20 @@ $config['auth_ldap_groupmemberattr'] = "memberUid";
|
||||
```
|
||||
|
||||
Replace {id} with the unique ID provided by Jumpcloud.
|
||||
|
||||
#### Active Directory Authentication
|
||||
|
||||
Config option: `active_directory`
|
||||
|
||||
This is similar to LDAP Authentication. Install __php_ldap__ for CentOS/RHEL or __php5-ldap__ for Debian/Ubuntu.
|
||||
|
||||
If you have issues with secure LDAP try setting `$config['auth_ad_dont_check_certificates']` to `1`.
|
||||
|
||||
```
|
||||
$config['auth_ad_url'] = "ldaps://your-domain.controll.er";
|
||||
$config['auth_ad_dont_check_certificates'] = 1; // or 0
|
||||
$config['auth_ad_domain'] = "your-domain.com";
|
||||
$config['auth_ad_base_dn'] = "dc=your-domain,dc=com";
|
||||
$config['auth_ad_groups']['admin']['level'] = 10;
|
||||
$config['auth_ad_groups']['pfy']['level'] = 7;
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user