Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adds a clarification to the LDAP validator documentation page. Thanks

for David <sk.random2@gmail.com> for the patch!

git-svn-id: svn://cherokee-project.com/cherokee/trunk@6837 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
commit 4b03d605ce5d9f8ce37fee53bac12826b8b44b06 1 parent 0ebceb0
@alobbs alobbs authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 doc/modules_validators_ldap.txt
View
9 doc/modules_validators_ldap.txt
@@ -22,7 +22,10 @@ Parameters
|__basedn__ |Base Distinguished Name.
|__filter__ |A filter that defines the conditions that must be
fulfilled in order for the search to match a given
- entry.
+ entry. Use `${user}` in a filter as a substitution to
+ match the identifier inputted by a user accessing the
+ resource. The filter must resolve to a single user object.
+ For LDAP filter syntax, refer to RFC 2254.
|__tls__ |Optional. Enable the use of TLS based integrity.
Defaults to __0__.
|__ca_file__ |Optional. It's the CA filename. Must be provided
@@ -45,3 +48,7 @@ Base DN, also known as search base, identifies the part of the
directory tree you want to manage.
Bind DN is the user name.
+
+To select any user from LDAP as part of the `filter`, specify
+`(uid=${user})`, where `uid` is the attribute that serves as your LDAP
+user identifier.
Please sign in to comment.
Something went wrong with that request. Please try again.