Commit fb977e7e authored by Felix Bartels's avatar Felix Bartels

only alow admin login for users in cloudron admin group

Signed-off-by: Felix Bartels's avatarFelix Bartels <felix@host-consultants.de>
parent 366ef398
......@@ -18,7 +18,7 @@
AuthType Basic
AuthBasicProvider ldap
AuthName "Use your Cloudron admin account to login"
AuthLDAPURL ${LDAP_URL}/${LDAP_USERS_BASE_DN}?username?sub?(objectclass=user)
AuthLDAPURL ${LDAP_URL}/${LDAP_USERS_BASE_DN}?username?sub?(memberof=cn=admins,${LDAP_GROUPS_BASE_DN})
AuthLDAPBindDN "${LDAP_BIND_DN}"
AuthLDAPBindPassword "{LDAP_BIND_PASSWORD}"
Require valid-user
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment