(Open)LDAP or ActiveDirectory authentication
#1  robb_nl 07-29-2018, 03:31 AM
I was wondering if there is any way to get Calibre users authenticated through LDAP or AD? I am running a Samba4/AD server and would like to add Calibre Server as a service so Samba4/AD users can authenticate to use the Calibre libraries.

#2  kovidgoyal 07-29-2018, 05:25 AM
Use a reverse proxy, then you can use whatever authentication scheme you like in the proxy server. The calibre server uses http auth set it to use basic http uath instead of digest and pass the Authorization header from the proxy server to the calibre server.

#3  robb_nl 08-03-2018, 04:20 AM
Thank you for the response. I am also member of the NethServer community and we are currently busy integrating Calibre content server in NethServer.
Since nethServer uses either OpenLDAP or Samba4 AD account providers, I thought I'd ask here if there were any options. We will look into the option of using a reverse proxy.

#4  kovidgoyal 08-03-2018, 05:44 AM
See for instructions on how to do reverse proxying with comomn servers. Note that if you want to do auth outside the calibre server, apart from passing the authorization heder, you will also need to mirrors the user accounts in calibre via calibre-server --manage-users

#5  aCIDsLAM 02-12-2020, 05:33 AM
Any chance calibre will get a auth to a ldap server, like calibre web? Would be very nice, to not need a second auth db for calibre server.

#6  kovidgoyal 02-12-2020, 06:34 AM
Not something I am interested in implementing, sorry.

Today's Posts | Search this Thread | Login | Register