Skip to content
Snippets Groups Projects
Commit a23c05cb authored by grueneedv's avatar grueneedv
Browse files

Update ldap.txt

Add documentation for OpenLDAP case.
parent dd670b1f
No related branches found
No related tags found
No related merge requests found
...@@ -451,13 +451,15 @@ a listing of all configuration options and their details. ...@@ -451,13 +451,15 @@ a listing of all configuration options and their details.
* that most products have a special query to recursively search * that most products have a special query to recursively search
* group membership. * group membership.
* *
* Note: Only ActiveDirectory is currently supported. * Note: Only ActiveDirectory is currently supported
* (OpenLDAP is implemented but not supported, see example below).
* *
* Default: '' * Default: ''
* Required: No * Required: No
*/ */
'ldap.product' => '', 'ldap.product' => '',
'ldap.product' => 'ActiveDirectory', 'ldap.product' => 'ActiveDirectory',
'ldap.product' => 'OpenLDAP',
/** /**
...@@ -548,3 +550,14 @@ required, see the config info above for details. ...@@ -548,3 +550,14 @@ required, see the config info above for details.
'ldap.basedn' => 'DC=example,DC=org' 'ldap.basedn' => 'DC=example,DC=org'
) )
Example for unsupported OpenLDAP usage.
Intention is to filter in 'ou=groups,dc=example,dc=com' for
'(memberUid = <UID>)' and take only the attributes 'cn' (=name of the group).
50 => array(
'class' => 'ldap:AttributeAddUsersGroups',
'ldap.product' => 'OpenLDAP',
'ldap.basedn' => 'ou=groups,dc=example,dc=org',
'attribute.member' => 'cn',
'attribute.memberof' => 'memberUid',
),
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment