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
Is your feature request related to a problem? Please describe.
Every time new user is created in directory service, calibre admin needs to "import LDAP users" or create account manually.
Describe the solution you'd like
If user doesn't exist in app.db, try to ldap.bind_user() with credentials provided (or at least ldap.get_object_details(form['username']) to check if account exists). If ldap succeded and user account does not exists in app.db, create account with default settings.
The text was updated successfully, but these errors were encountered:
A slightly more automated solution seems to be to call http://calibre.example.com/import_ldap_users. This is equivalent of pressing the "Import LDAP Users", and will trigger calling the LDAP server. Wiring this up to the LDAP server to call it when a user is created would complete the automation.
Its not directly addressing your issues, but would solve the problem I think.
epsilon-0
added a commit
to epsilon-0/calibre-web
that referenced
this issue
Dec 19, 2022
Is your feature request related to a problem? Please describe.
Every time new user is created in directory service, calibre admin needs to "import LDAP users" or create account manually.
Describe the solution you'd like
If user doesn't exist in app.db, try to ldap.bind_user() with credentials provided (or at least ldap.get_object_details(form['username']) to check if account exists). If ldap succeded and user account does not exists in app.db, create account with default settings.
The text was updated successfully, but these errors were encountered: