Skip to content
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

fix admin lookup condition #82

Merged
merged 2 commits into from
Jun 27, 2021
Merged

Conversation

Bobonium
Copy link
Contributor

fixes #57

I had the same problem as described in the issue and investigated it a little bit. I could clearly see in my OpenLDAP logs, that the Admin Query returned results, but the debug log message always showed is admin? False

After looking around in the LDAP Library documentation, I could not find a single reference that would confirm the current usage to be valid. Therefore I changed the condition based on the documented methods and now it's working.

If I'd have to take a guess, I'd say that this might've worked in earlier versions but doesn't anymore, and since this whole block is only triggered on user creation it was probably overlooked when upgrading the dependency.

@h1dden-da3m0n h1dden-da3m0n merged commit eb1d526 into jellyfin:master Jun 27, 2021
@h1dden-da3m0n h1dden-da3m0n added the bug This PR or Issue describes or fixes something that isn't working label Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This PR or Issue describes or fixes something that isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LDAP Admin Group Not Working As Intended?
3 participants