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

User not given administrator rights on first login #145

Closed
adamshand opened this issue May 20, 2023 · 2 comments
Closed

User not given administrator rights on first login #145

adamshand opened this issue May 20, 2023 · 2 comments

Comments

@adamshand
Copy link

Hello,

Thanks for the great plugin to a great open source project! :-) Hoping someone can help me with an issue ...

I'm running LLDAP 0.4.3, LDAP-Auth 17.0.0.0, and Jellyfin 10.8.10 using Docker.

The LDAP plugin seems to be working and configured correctly. I can log into Jellyfin with any LLDAP user and everything works as expected ... EXCEPT that admin permissions are not granted.

In the Jellyfin LDAP plugin settings:

When I click "Save and Test LDAP Server Settings" I get:

Connect (Success); Bind (Success); Base Search (Found 4 Entities)

When I click "Save and Test LDAP Filter Settings": I get:

Found 4 user(s), 2 admin(s)

These both match what I expect.

However when I log into Jellyfin with one of the admin users they are not granted admin access to Jellyfin. If I then manually give them admin rights in Jellyfin - and logout/login - admin access is removed (as expected for a non-admin user).

I'm following the instructions here: https://github.com/lldap/lldap/blob/main/example_configs/jellyfin.md

Any assistance would be much appreciated.

Thanks,
Adam.

image

@gdunstone
Copy link

I worked this out!

Change your admin basedn to whatever you use for your user basedn

gdunstone added a commit to gdunstone/lldap that referenced this issue Jun 8, 2023
The LdapAdminBaseDN either doesn't work properly or is used incorrectly here.

This change will make it work.

see: 
- jellyfin/jellyfin-plugin-ldapauth#145
@adamshand
Copy link
Author

adamshand commented Jun 8, 2023

That totally works, thank you!!

update the LLDAP documentation so that you hopefully don't get the same questions again ... you beat me to it.

martadinata666 pushed a commit to lldap/lldap that referenced this issue Jun 9, 2023
* Update jellyfin.md example

The LdapAdminBaseDN either doesn't work properly or is used incorrectly here.

This change will make it work.

see: 
- jellyfin/jellyfin-plugin-ldapauth#145

* Update jellyfin.md

Added some more detail about admin groups and user groups.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants