Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1b7cc05

Browse files
committed
minor#11454 [Ldap] minor: better query string docs (Simperfit)
This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes#11454).Discussion----------[Ldap] minor: better query string docs<!--If your pull request fixes a BUG, use the oldest maintained branch that containsthe bug (seehttps://symfony.com/roadmap for the list of maintained branches).If your pull request documents a NEW FEATURE, use the same Symfony branch wherethe feature was introduced (and `master` for features of unreleased versions).-->seesymfony/symfony#26316 (comment)Commits-------0dfb46f [Ldap] minor: better query string docs
2 parents2a01088 +0dfb46f commit1b7cc05

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎security/ldap.rst‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,12 +313,11 @@ providers with different ``base_dn``. The value of this option must be a valid
313313
search string (e.g. ``uid="{username}"``). The placeholder value will be
314314
replaced by the actual username.
315315

316-
When this option is used, ``dn_string`` has to be updated accordingly. Following
317-
the previous example, if your users have the following two DN:
316+
When this option is used, ``query_string`` will search in the DN specified by ``dn_string``
317+
and the DN resulted of the ``query_string`` will be used to authenticate the user with
318+
their password. Following the previous example, if your users have the following two DN:
318319
``dc=companyA,dc=example,dc=com`` and ``dc=companyB,dc=example,dc=com``, then
319-
``dn_string`` should be ``dc=example,dc=com``. If the ``query_string`` option is
320-
``uid="{username}"``, then the authentication provider can authenticate users
321-
from both DN.
320+
``dn_string`` should be ``dc=example,dc=com``.
322321

323322
Bear in mind that usernames must be unique across both DN, as the authentication
324323
provider won't be able to select the correct user for the bind process if more

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp