Skip to content

Removed jpegphoto attribute when photo sync isn't enabled#168

Merged
crobibero merged 1 commit into
jellyfin:masterfrom
CEbbinghaus:bugfix/FixLdapUserSearch
Oct 29, 2024
Merged

Removed jpegphoto attribute when photo sync isn't enabled#168
crobibero merged 1 commit into
jellyfin:masterfrom
CEbbinghaus:bugfix/FixLdapUserSearch

Conversation

@CEbbinghaus

Copy link
Copy Markdown
Contributor

Currently the LocateLdapUser method will always try and find users with the jpegphoto attribute. This is not always guaranteed to be permitted however especially with some more privacy centric LDAP servers such as kanidm. As such the jpegphoto attribute should only be included in the search if profile photo sync is enabled.

While I was at it I took the liberty to bump the StyleCop analyzer version to make it compatible with the new collection initialization syntax.

@crobibero crobibero merged commit d2ac2e1 into jellyfin:master Oct 29, 2024
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

Successfully merging this pull request may close these issues.

3 participants