10000 [Security] LdapUserProvider should not throw an exception if the UID key does not exist in an LDAP entry by csarrazi · Pull Request #21579 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Security] LdapUserProvider should not throw an exception if the UID key does not exist in an LDAP entry #21579

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

Closed
wants to merge 2 commits into from

Conversation

csarrazi
Copy link
Contributor
@csarrazi csarrazi commented Feb 10, 2017
Q A
Branch? 3.1+
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #21577
License MIT
Doc PR

This ticket should fix #21577, which was introduced by commit 6641b79

LdapUserProvider should not throw an exception if the uid key does not exist in the entry.

@csarrazi
Copy link
Contributor Author

Tests are not yet added, I will add them a bit later.

@csarrazi
Copy link
Contributor Author

Added tests. Failures are not related to this PR.

@csarrazi
Copy link
Contributor Author

Ping @nicolas-grekas

@csarrazi csarrazi changed the title LdapUserProvider should not throw an exception if the uid key does no… [Security] LdapUserProvider should not throw an exception if the UID key does not exist in an LDAP entry Feb 10, 2017
@fabpot
Copy link
Member
fabpot commented Feb 11, 2017

merging into 3.2 as 3.1 is not maintained anymore.

@fabpot
Copy link
Member
fabpot commented Feb 11, 2017

Thank you @csarrazi.

@fabpot fabpot closed this Feb 11, 2017
fabpot added a commit that referenced this pull request Feb 11, 2017
…if the UID key does not exist in an LDAP entry (csarrazi)

This PR was submitted for the 3.1 branch but it was merged into the 3.2 branch instead (closes #215
7DF5
79).

Discussion
----------

[Security] LdapUserProvider should not throw an exception if the UID key does not exist in an LDAP entry

| Q             | A
| ------------- | ---
| Branch?       | 3.1+
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #21577
| License       | MIT
| Doc PR        |

This ticket should fix #21577, which was introduced by commit 6641b79

LdapUserProvider should not throw an exception if the uid key does not exist in the entry.

Commits
-------

ee4d9a7 [Security] LdapUserProvider should not throw an exception if the UID key does not exist in an LDAP entry
@fabpot fabpot mentioned this pull request Feb 17, 2017
@csarrazi csarrazi deleted the fix/ldap-no-username branch July 31, 2017 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0