Skip to content

Commit 1735f08

Browse files
committed
clean up
1 parent 1d89999 commit 1735f08

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

security/ldap.rst

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -295,19 +295,6 @@ than one is found.
295295
Examples are provided below, for both ``form_login_ldap`` and
296296
``http_basic_ldap``.
297297

298-
query_string
299-
............
300-
301-
**type**: ``string`` **default**: ``null``
302-
303-
This optional key defines the form of the query used in order to search the
304-
DN of the user, from the username. The ``{username}`` string is replaced by
305-
the actual username of the person trying to authenticate.
306-
307-
This setting is only necessary if the users DN cannot be derived statically
308-
using the `dn_string` config option.
309-
310-
311298
Configuration example for form login
312299
....................................
313300

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

0 commit comments

Comments
 (0)