Skip to content

Commit

Permalink
bug #35438 [SecurityBundle] fix ldap_bind service arguments (Ioni14)
Browse files Browse the repository at this point in the history
This PR was merged into the 4.4 branch.

Discussion
----------

[SecurityBundle] fix ldap_bind service arguments

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT

The 6th argument of `LdapBindAuthenticationProvider` was not correctly set in the service declaration `security_listeners.xml`. Thus, instead `'Invalid credentials.'` we had `'User "foo" not found.'`.

Commits
-------

7ec6a09 [SecurityBundle] fix security.authentication.provider.ldap_bind arguments
  • Loading branch information
nicolas-grekas committed Jan 27, 2020
2 parents 8773ccf + 7ec6a09 commit 592a31a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -195,10 +195,10 @@
<argument /> <!-- UserChecker -->
<argument /> <!-- Provider-shared Key -->
<argument /> <!-- LDAP -->
<argument /> <!-- search dn -->
<argument /> <!-- search password -->
<argument /> <!-- Base DN -->
<argument>%security.authentication.hide_user_not_found%</argument>
<argument /> <!-- search dn -->
<argument /> <!-- search password -->
</service>

<service id="security.authentication.provider.simple" class="Symfony\Component\Security\Core\Authentication\Provider\SimpleAuthenticationProvider" abstract="true">
Expand Down

0 comments on commit 592a31a

Please sign in to comment.