From f87360bc0fe29031b0254108eafeb1ecc9969c18 Mon Sep 17 00:00:00 2001 From: Falk Stern Date: Thu, 22 Oct 2015 09:13:42 +0200 Subject: [PATCH] Added actual documentation for active_directory auth --- doc/Extensions/Authentication.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/doc/Extensions/Authentication.md b/doc/Extensions/Authentication.md index 048a08f13..eee0915b9 100644 --- a/doc/Extensions/Authentication.md +++ b/doc/Extensions/Authentication.md @@ -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; +```