Comments (7)
I'm having trouble as well. I'm not sure what the plugin wants the format of the LDAP attribute to be in. Is it a URL to the image or is it a base 64 or is either ok?
from jellyfin-plugin-ldapauth.
I tried to figure out what exactly the plugin wants. It seems that base64 is standard, and that makes the most sense to me too. But I am not confident right now that the plugin expects base64
Looking at the source code I was able to find the following:
Here it seems like a ByteValue is returned.
And GetAttribute seems to be returning a LdapAttribute object.
The whole plugin seems to make use of Novell.Directory.Ldap
https://github.com/dsbenghe/Novell.Directory.Ldap.NETStandard/blob/5ff61fafa2d7b7fd0a9f4458e462bcb4f9970da9/src/Novell.Directory.Ldap.NETStandard/LdapAttribute.cs#L305
So looking at this it seems like ByteValue is an array of bytes.
But I can not figure out what exactly sets _value and how that is determined... That is where I stopped looking.
from jellyfin-plugin-ldapauth.
I'm definitely trying to understand this more. Currently working on getting this to sync through authentik who also treats avatars strangely just trying to get an understanding of how this works so I can implement it.
from jellyfin-plugin-ldapauth.
I'm trying to do the same thing, I asked the question in authentik but no response yet. goauthentik/authentik#10055
from jellyfin-plugin-ldapauth.
So in authentik I found this. It at least gives another option by allowing us to pass the URL to the image. I still haven't manged to get it to work in jellyfin though but now I have the image url. goauthentik/authentik#6824
from jellyfin-plugin-ldapauth.
So in plugins/configuration there is the LDAP-Auth.xml file that shows a place for the jpegPhoto details but no matter what I put in my "avatars" field I can't get that file to populate and update with a hash. Has anyone had luck getting the plugin to make changes here?
from jellyfin-plugin-ldapauth.
Ok did some more digging and testing using https://base64.guru/converter/decode/text to see what I can come up with... So since the plugin doesn't (from what I can tell) decode the base64 into the binary before posting it in the profile.jpg file I think the only fix is to actually get the binary for the avatar into the ldap field which I can imagine will throw in some breaking characters. Gonna continue testing.
from jellyfin-plugin-ldapauth.
Related Issues (20)
- Feature: Option to allow/ disallow transcoding on newly created users
- Feature: Better Support for TLS Certificates HOT 1
- memberUid is broken HOT 1
- LdapException: Size Limit Exceeded (4) HOT 18
- Issue with microsoft active directory
- Password in plain text after user's modification HOT 1
- LDAP Filter HOT 4
- User not given administrator rights on first login HOT 2
- Add `LDAP Uid attribute` field
- Cant connect to authentik ldap HOT 2
- Slow bind with SSL/TLS HOT 2
- Incompatibility with 20240214.1-unstable HOT 3
- Password Reset reports try again from your home network HOT 3
- Allow "UPN" attribute with Windows AD HOT 1
- Plugin not compatible with Jellyfin 10.9 HOT 3
- [10.9] User unable to login missing Jellyfin.Plugin.LDAP_Auth.LdapAuthenticationProviderPlugin HOT 1
- Search Filter Missing Left Parenthesis HOT 2
- Reset password doesn't work with Active Directory
- Password reset doesn't work with Active Directory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jellyfin-plugin-ldapauth.