You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the LDAP feature of Calibre-web requires a group structure for the LDAP instance, which limits its compatibility with simpler LDAP setups where users are not organized into groups. This group-based structure also requires modifying multiple LDAP nodes when adding new users. It would be helpful to have the ability to import users from LDAP instances where users are categorized under non-leaf nodes, for example:
Add support for importing users directly from an LDAP directory without requiring them to be part of a group, similar to Jellyfin's ldap-auth-plugin. For the LDAP structure above, the configuration could look something like this:
LDAP Base DN for searches (The base DN for your LDAP query): dn: ou=user,dc=example,dc=com.
LDAP Search Filter ( LDAP search filter to limit user searches): (userPassword=*)
LDAP Search Attributes (A comma-separated list of attributes to search for the username): uid, cn, mail
LDAP Uid Attribute (The LDAP attribute to use to uniquely identify the user): uid
LDAP Username Attribute (The LDAP attribute to use as the username): displayName
LDAP Password Attribute (The LDAP attribute for the user password): userPassword
Additional Context
I might be able to work around this by writing complex search filters for group objects and other fields, but doing so would introduce unnecessary confusion in the configuration. A more straightforward LDAP integration like the one in Jellyfin would make Calibre-web more versatile for various LDAP environments.
The text was updated successfully, but these errors were encountered:
Description
Currently the LDAP feature of Calibre-web requires a group structure for the LDAP instance, which limits its compatibility with simpler LDAP setups where users are not organized into groups. This group-based structure also requires modifying multiple LDAP nodes when adding new users. It would be helpful to have the ability to import users from LDAP instances where users are categorized under non-leaf nodes, for example:
Proposed Solution
Add support for importing users directly from an LDAP directory without requiring them to be part of a group, similar to Jellyfin's ldap-auth-plugin. For the LDAP structure above, the configuration could look something like this:
dn: ou=user,dc=example,dc=com
.(userPassword=*)
uid, cn, mail
uid
displayName
userPassword
Additional Context
I might be able to work around this by writing complex search filters for group objects and other fields, but doing so would introduce unnecessary confusion in the configuration. A more straightforward LDAP integration like the one in Jellyfin would make Calibre-web more versatile for various LDAP environments.
The text was updated successfully, but these errors were encountered: