Skip to content

[Ldap][Security] LdapBindAuthenticationProvider does not bind before search query #24210

@backbone87

Description

@backbone87
Q A
Bug report? yes
Feature request? no
BC Break report? no
Symfony version any

When using the LdapBindAuthenticationProvider without the LdapUserProvider while using a queryString to search for the users DN, the auth provider executes an LDAP search without binding first.
see https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Security/Core/Authentication/Provider/LdapBindAuthenticationProvider.php#L96

this error does not occur when used in combination with the LdapUserProvider, because this one is binding to a search user before.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions