Added actual documentation for active_directory auth

This commit is contained in:
Falk Stern
2015-10-22 09:13:42 +02:00
parent a36f3e1e35
commit f87360bc0f
+20 -1
View File
@@ -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;
```