mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-22 10:01:45 +00:00
Use the common LDAP auth configuration in all modules
By maintaining a common LDAP auth configuration, it becomes easy for us to change the configuration values in future for upgrades etc.
This commit is contained in:
parent
2c0581ea26
commit
d1fa4e054e
@ -9,12 +9,7 @@ AddHandler cgi-script .cgi
|
|||||||
<Location /ikiwiki-auth>
|
<Location /ikiwiki-auth>
|
||||||
Options +ExecCGI
|
Options +ExecCGI
|
||||||
|
|
||||||
AuthType basic
|
Include includes/freedombox-auth-ldap.conf
|
||||||
AuthName "FreedomBox Login"
|
|
||||||
AuthBasicProvider ldap
|
|
||||||
AuthLDAPUrl "ldap:///ou=users,dc=thisbox?uid"
|
|
||||||
AuthLDAPGroupAttribute memberUid
|
|
||||||
AuthLDAPGroupAttributeIsDN off
|
|
||||||
Require ldap-group cn=admin,ou=groups,dc=thisbox
|
Require ldap-group cn=admin,ou=groups,dc=thisbox
|
||||||
Require ldap-group cn=wiki,ou=groups,dc=thisbox
|
Require ldap-group cn=wiki,ou=groups,dc=thisbox
|
||||||
</Location>
|
</Location>
|
||||||
|
|||||||
@ -8,11 +8,6 @@ Redirect 301 /.well-known/caldav /radicale/.well-known/caldav
|
|||||||
<Location /radicale>
|
<Location /radicale>
|
||||||
ProxyPass http://localhost:5232
|
ProxyPass http://localhost:5232
|
||||||
|
|
||||||
AuthType basic
|
Include includes/freedombox-auth-ldap.conf
|
||||||
AuthName "FreedomBox Login"
|
|
||||||
AuthBasicProvider ldap
|
|
||||||
AuthLDAPUrl "ldap:///ou=users,dc=thisbox?uid"
|
|
||||||
AuthLDAPGroupAttribute memberUid
|
|
||||||
AuthLDAPGroupAttributeIsDN off
|
|
||||||
Require valid-user
|
Require valid-user
|
||||||
</Location>
|
</Location>
|
||||||
|
|||||||
@ -5,11 +5,6 @@
|
|||||||
<Location /repro>
|
<Location /repro>
|
||||||
ProxyPass http://localhost:5080
|
ProxyPass http://localhost:5080
|
||||||
|
|
||||||
AuthType basic
|
Include includes/freedombox-auth-ldap.conf
|
||||||
AuthName "FreedomBox Login"
|
|
||||||
AuthBasicProvider ldap
|
|
||||||
AuthLDAPUrl "ldap:///ou=users,dc=thisbox?uid"
|
|
||||||
AuthLDAPGroupAttribute memberUid
|
|
||||||
AuthLDAPGroupAttributeIsDN off
|
|
||||||
Require ldap-group cn=admin,ou=groups,dc=thisbox
|
Require ldap-group cn=admin,ou=groups,dc=thisbox
|
||||||
</Location>
|
</Location>
|
||||||
|
|||||||
@ -5,11 +5,6 @@
|
|||||||
Alias /tt-rss /usr/share/tt-rss/www
|
Alias /tt-rss /usr/share/tt-rss/www
|
||||||
|
|
||||||
<Location /tt-rss>
|
<Location /tt-rss>
|
||||||
AuthType basic
|
Include includes/freedombox-auth-ldap.conf
|
||||||
AuthName "FreedomBox Login"
|
|
||||||
AuthBasicProvider ldap
|
|
||||||
AuthLDAPUrl "ldap:///ou=users,dc=thisbox?uid"
|
|
||||||
AuthLDAPGroupAttribute memberUid
|
|
||||||
AuthLDAPGroupAttributeIsDN off
|
|
||||||
Require valid-user
|
Require valid-user
|
||||||
</Location>
|
</Location>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user