07-29-2018, 03:31 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jul 2018
Device: Android Tablet
|
(Open)LDAP or ActiveDirectory authentication
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.
|
07-29-2018, 05:25 AM | #2 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
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.
|
Advert | |
|
08-03-2018, 04:20 AM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jul 2018
Device: Android Tablet
|
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. |
08-03-2018, 05:44 AM | #4 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
See https://manual.calibre-ebook.com/server.html 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
|
02-12-2020, 05:33 AM | #5 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Oct 2016
Device: Xiaomi MI Pad 1, LineageOS14.1
|
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.
|
Advert | |
|
02-12-2020, 06:34 AM | #6 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Not something I am interested in implementing, sorry.
|
Tags |
authentication, calibre server |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Android] Configuring authentication? | jdege | Calibre Companion | 1 | 10-08-2017 05:45 AM |
Authentication on FreeBSD Install | adrianwi | Devices | 1 | 02-24-2016 03:46 PM |
K4 Mac or PC Account authentication | Kumabjorn | Amazon Kindle | 4 | 10-25-2012 05:29 AM |
Twitter Authentication Required? | Wetdogeared | Feedback | 3 | 09-26-2010 10:33 AM |
Classic Authentication for adb connection | riemann42 | Barnes & Noble NOOK | 1 | 03-08-2010 05:24 AM |