8000 bug #35438 [SecurityBundle] fix ldap_bind service arguments (Ioni14) · symfony/symfony@592a31a · GitHub
[go: up one dir, main page]

Skip to content

Commit 592a31a

Browse files
bug #35438 [SecurityBundle] fix ldap_bind service arguments (Ioni14)
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
2 parents 8773ccf + 7ec6a09 commit 592a31a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/SecurityBundle/Resources/config/security_listeners.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,10 @@
195195
<argument /> <!-- UserChecker -->
196196
<argument /> <!-- Provider-shared Key -->
197197
<argument /> <!-- LDAP -->
198-
<argument /> <!-- search dn -->
199-
<argument /> <!-- search password -->
200198
<argument /> <!-- Base DN -->
201199
<argument>%security.authentication.hide_user_not_found%</argument>
200+
<argument /> <!-- search dn -->
201+
<argument /> <!-- search password -->
202202
</service>
203203

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

0 commit comments

Comments
 (0)
0