mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +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>
|
||||
Options +ExecCGI
|
||||
|
||||
AuthType basic
|
||||
AuthName "FreedomBox Login"
|
||||
AuthBasicProvider ldap
|
||||
AuthLDAPUrl "ldap:///ou=users,dc=thisbox?uid"
|
||||
AuthLDAPGroupAttribute memberUid
|
||||
AuthLDAPGroupAttributeIsDN off
|
||||
Include includes/freedombox-auth-ldap.conf
|
||||
Require ldap-group cn=admin,ou=groups,dc=thisbox
|
||||
Require ldap-group cn=wiki,ou=groups,dc=thisbox
|
||||
</Location>
|
||||
|
||||
@ -8,11 +8,6 @@ Redirect 301 /.well-known/caldav /radicale/.well-known/caldav
|
||||
<Location /radicale>
|
||||
ProxyPass http://localhost:5232
|
||||
|
||||
AuthType basic
|
||||
AuthName "FreedomBox Login"
|
||||
AuthBasicProvider ldap
|
||||
AuthLDAPUrl "ldap:///ou=users,dc=thisbox?uid"
|
||||
AuthLDAPGroupAttribute memberUid
|
||||
AuthLDAPGroupAttributeIsDN off
|
||||
Include includes/freedombox-auth-ldap.conf
|
||||
Require valid-user
|
||||
</Location>
|
||||
|
||||
@ -5,11 +5,6 @@
|
||||
<Location /repro>
|
||||
ProxyPass http://localhost:5080
|
||||
|
||||
AuthType basic
|
||||
AuthName "FreedomBox Login"
|
||||
AuthBasicProvider ldap
|
||||
AuthLDAPUrl "ldap:///ou=users,dc=thisbox?uid"
|
||||
AuthLDAPGroupAttribute memberUid
|
||||
AuthLDAPGroupAttributeIsDN off
|
||||
Include includes/freedombox-auth-ldap.conf
|
||||
Require ldap-group cn=admin,ou=groups,dc=thisbox
|
||||
</Location>
|
||||
|
||||
@ -5,11 +5,6 @@
|
||||
Alias /tt-rss /usr/share/tt-rss/www
|
||||
|
||||
<Location /tt-rss>
|
||||
AuthType basic
|
||||
AuthName "FreedomBox Login"
|
||||
AuthBasicProvider ldap
|
||||
AuthLDAPUrl "ldap:///ou=users,dc=thisbox?uid"
|
||||
AuthLDAPGroupAttribute memberUid
|
||||
AuthLDAPGroupAttributeIsDN off
|
||||
Include includes/freedombox-auth-ldap.conf
|
||||
Require valid-user
|
||||
</Location>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user