This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 472
Portus crashes when guessing LDAP email #1832
Labels
Comments
There are two things to note here:
Thanks for the report ! 👍 |
@mssola Thanks for the heads up. Concerning 2): My mistake while pasting it here. I checked with our production *.yml and the indention is correct there, still fails. Sorry for that! |
I debugged the |
mssola
added a commit
that referenced
this issue
May 28, 2018
The `search` method from Net::LDAP might return nil. In this case simply return early as we do on other cases. See #1832 Signed-off-by: Miquel Sabaté Solà <[email protected]>
I've also adapted the fix into |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Portus crashes when guessing LDAP email while working fine without it.
Steps to reproduce
I set up Portus to use LDAP which works fine without guessing the email. But when enabling guessing with the actual attribute, Portus crashes with:
At least I would expect it to fall back to no email setup and redirecting the user to the profile page to enter it manually as stated in the docs.
Deployment information
Deployment method:
Bare metal with official Docker image v2.3
Configuration:
Portus version: v2.3
The text was updated successfully, but these errors were encountered: