jellyfin-plugin-ldapauth
jellyfin-plugin-ldapauth copied to clipboard
Unable to synchronise profile photos with jpegPhoto
Hi, I am trying to sync photos via LDAP.
It seems like the photo is stored properly in LDAP. With the ldapsearch command I can see the jpegPhoto attribute with the base64-encoded photo.
ldapsearch -H ldap://LDAP_IP:389 -D "cn=jellyfin-ldap,ou=users,dc=ldap,dc=jellyfin,dc=DOMAIN,dc=TLD" -b "dc=ldap,dc=jellyfin,dc=DOMAIN,dc=TLD" -w "SUPERSECRETPASSWORD" -s sub "(memberOf=cn=jellyfin,ou=groups,dc=ldap,dc=jellyfin,dc=DOMAIN,dc=TLD)" -x
# mari, users, ldap.jellyfin.DOMAIN.TLD
dn: cn=mari,ou=users,dc=ldap,dc=jellyfin,dc=DOMAIN,dc=TLD
b1976859b.jpeg
settings: map[locale:en]
jpegPhoto: /9j/4AAQSkZJRgABAQEASABIAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAIQAAB
tbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA
9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAlkZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAA
ABoAAAAChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHV
.........
I can also take the whole content of the jpegPhoto attribute, decode it, and I get the original jpeg-photo back.
But the synchronisation task does not seem to find the picture?
If I manually start the task I can see the following in the server logs:
Jun 09 18:01:04 mediaserver jellyfin[2507335]: [18:01:04] [ERR] Found no users matching 47d3e950ecde188d79edd36c4e3782950cb980a32b6123f61a25739275c60649 in LDAP search
Jun 09 18:01:04 mediaserver jellyfin[2507335]: [18:01:04] [WRN] User '47d3e950ecde188d79edd36c4e3782950cb980a32b6123f61a25739275c60649' is not found in LDAP. Cannot synchronize profile image.
Jun 09 18:01:06 mediaserver jellyfin[2507335]: [18:01:06] [ERR] Found no users matching 0c0db9192935c17672460432268b242a6fcc2f6e831cb4f081a507c416937faa in LDAP search
Jun 09 18:01:06 mediaserver jellyfin[2507335]: [18:01:06] [WRN] User '0c0db9192935c17672460432268b242a6fcc2f6e831cb4f081a507c416937faa' is not found in LDAP. Cannot synchronize profile image.
Jun 09 18:01:06 mediaserver jellyfin[2507335]: [18:01:06] [INF] LDAP - Synchronize profile images Completed after 0 minute(s) and 4 seconds
I can login through LDAP and also use the test buttons in the plugin settings to successfully find my user.
System: Jellyfin + Jellyfin-WEB: 10.9.3 OS: Arch Linux Installed through: Package manager (https://archlinux.org/packages/extra/x86_64/jellyfin-server/)
Installed Plugins:
(Note: SSO-Auth is configured to change the authentication provider to Jellyfin.Plugin.LDAP_Auth.LdapAuthenticationProviderPlugin, in case that is relevant)
Is there something obvious that I am missing?