Skip to content

Clarification on search user #9307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions security/ldap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,15 @@ use the ``ldap`` user provider.
provider is used. However, the LDAP component itself does not provide
any escaping yet. Thus, it's your responsibility to prevent LDAP injection
attacks when using the component directly.

.. caution::

The user configured above in the the user provider is only used to retrieve
data. It's a static user defined by its username and password (for improved
security, define the password as an environment variable).

If your LDAP server allows to retrieve information anonymously, you can
set the ``search_dn`` and ``search_password`` options to ``null``.

The ``ldap`` user provider supports many different configuration options:

Expand Down