User Tools

Site Tools


tech:unix:main:calibre-web

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tech:unix:main:calibre-web [2025/08/25 11:49] ayush.zutshitech:unix:main:calibre-web [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Setup Calibre-web with samba-ad (Quick Notes) ====== 
  
- 
-  - Create a samba-ad group called "calibre-web". 
-  - Add a bunch of users to the calibre-web group in samba-ad. 
-  - Login to Calibre-Web 
-  - Click on "Admin" 
-  - Click on "Edit Basic Configuration" 
-  - Open up "feature Configuration" accordion. 
-  - Quick Changes: 
-    - Login Type: "Use LDAP Authentication" 
-    - LDAP Server: <IP or LDAP Hostname> 
-    - LDAP Server Port: 389|636 (Unsecure|Secure) 
-    - LDAP Encryption: None|SSL|TLS (Unsecure|Secure SSL|Secure TLS) 
-    - LDAP Authentication: Simple 
-    - LDAP Distinguished Name:  DC=samdom,DC=com 
-    - LDAP User Object Filter: (&(objectclass=user)(sAMAccountName=%s)) 
-    - LDAP Server is OpenLDAP?: <Unchecked> 
-    - LDAP Group Object Filter: (&(objectclass=group)(cn=%s)) 
-    - LDAP Group Name: calibre-web 
-    - LDAP Group Members Field: member 
-    - LDAP Member User Filter Detection: <Custom Filter> 
-    - LDAP Member User Filter: CN=%s 
-    - Save() 
-  - Click back on "Admin" 
-  - Click "Import LDAP users" pushbutton. 
- 
-==== LDAP Search helpers ==== 
-The below should return users.  If they do not, continue to work with ldap search until user names are returned for your group. 
-== Generic == 
-<code> 
-ldapsearch -H ldap://someip -x -D "CN=someuser,OU=Users,DC=samdom,DC=com" -w "somepassword" -b "OU=Users,DC=samdom,DC=com" "(&(objectclass=group)(cn=calibre-web))" member 
-</code> 
- 
-== Site Specific == 
-<code> 
-ldapsearch -H ldaps://somehost -x -D "CN=sso,OU=Service,OU=6120U,DC=6120,DC=local" -w "somepassword" -b "ou=Users,ou=6120U,dc=6120,dc=local" "(&(objectclass=group)(cn=website-users))" member 
-</code>