-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Avoid PHP errors when the LDAP attribute is not found #29180
Conversation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just that one thing pointed out :)
…_LDAP\Access Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
9e64275
to
d189a23
Compare
This is again ready for review/merge, I did what I could to improve the situation on the logger front, the rest will need a DI refactor of the user_ldap application. |
3bc2b97
to
bb17438
Compare
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
bb17438
to
f9e6f2e
Compare
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
/backport to stable22 |
/backport to stable21 |
/backport to stable20 |
Should fix #27798
This will avoid the PHP error. It will still be an error because the ldap attribute used to name the user internally cannot be found or is empty, but it won’t be a PHP error anymore.