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

OpenLDAP Issue #126

Open
eudojosegonzalez opened this issue Sep 1, 2022 · 3 comments
Open

OpenLDAP Issue #126

eudojosegonzalez opened this issue Sep 1, 2022 · 3 comments

Comments

@eudojosegonzalez
Copy link

eudojosegonzalez commented Sep 1, 2022

Hi
Cheers
I have the following problem when using the Jellyfin Ldap plugin

from the web administrator, when making the queries, it connects to the LDAP server, makes the queries and gets users

However, when I try to enter with a user created in OpenLDAP, Jellyfin shows me a user not found.

This is the server log

Error authenticating with provider "LDAP-Authentication"
MediaBrowser.Controller.Authentication.AuthenticationException: Error completing LDAP login. Invalid username or password.
at Jellyfin.Plugin.LDAP_Auth.LdapAuthenticationProviderPlugin.ConnectToLdap(String userDn, String userPassword)
at Jellyfin.Plugin.LDAP_Auth.LdapAuthenticationProviderPlugin.Authenticate(String username, String password)
at Jellyfin.Server.Implementations.Users.UserManager.AuthenticateWithProvider(IAuthenticationProvider provider, String username, String password, User resolvedUser)

Openldap Version Mar 2022
Jellyfin Version Last

@crobibero
Copy link
Member

This isnt really enough information to provide any assistance to, but I can confirm that the Jellyfin plugin can connect to OpenLDAP.

@eudojosegonzalez
Copy link
Author

Thanks for your quick response

What other information do you need so that you can better guide me?

LDAP Structure
dc=ninatv
ou=Clientes

Jellyfin Plugin configuration

LDAP Bind User
CN=administrator,DC=ninatv

LDAP User Filter
(objectClass=inetOrgPerson)

LDAP Attributes:
uid, cn, mail, displayName

@AnthonyRcd
Copy link

Have you created the "Enable User Creation" option in the plugin configuration ? This is what enables Jellyfin to create a user in its database from the LDAP server you created your user in.

Screenshot 2022-10-13 at 22-55-02 Jellyfin

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

3 participants