jellyfin / jellyfin-plugin-ldapauth

LDAP Authentication for Jellyfin
https://jellyfin.org
MIT License
110 stars 31 forks source link

OpenLDAP Issue #126

Open eudojosegonzalez opened 2 years ago

eudojosegonzalez commented 2 years ago

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 commented 2 years ago

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

eudojosegonzalez commented 2 years ago

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 commented 1 year ago

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