Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed Jan 27, 2017
1 parent 1d89999 commit 1735f08
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions security/ldap.rst
Expand Up @@ -295,19 +295,6 @@ than one is found.
Examples are provided below, for both ``form_login_ldap`` and
``http_basic_ldap``.

query_string
............

**type**: ``string`` **default**: ``null``

This optional key defines the form of the query used in order to search the
DN of the user, from the username. The ``{username}`` string is replaced by
the actual username of the person trying to authenticate.

This setting is only necessary if the users DN cannot be derived statically
using the `dn_string` config option.


Configuration example for form login
....................................

Expand Down Expand Up @@ -456,7 +443,7 @@ Configuration example for form login and query_string
check-path="login_check"
service="ldap"
dn-string="dc=example,dc=com"
query-string="(&(uid={username})(memberOf=cn=users,ou=Services,dc=example,dc=com))" />
query-string="(&(uid={username})(memberOf=cn=users,ou=Services,dc=example,dc=com))" />
</firewall>
</config>
</srv:container>
Expand Down

0 comments on commit 1735f08

Please sign in to comment.