diff options
Diffstat (limited to 'catdap.yml')
-rw-r--r-- | catdap.yml | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -20,7 +20,7 @@ Model::Proxy: # dn and password should not be required here, we rebind with credentials # from the authenticated user using Model::LDAP::FromAuthentication Model::User: - base: ou=People,dc=mageia,dc=org + base: dc=mageia,dc=org host: ldap.mageia.org start_tls: 1 @@ -43,10 +43,12 @@ authentication: user_scope: 'one' user_field: 'uid' use_roles: 1 - role_basedn: 'ou=group,dc=mageia,dc=org' - role_scope: 'one' + role_basedn: 'dc=mageia,dc=org' + role_scope: 'sub' role_field: 'cn' - role_value: 'uid' + role_value: 'dn' + role_filter: '(member=%s)' + role_search_as_user: 1 Controller::User: # Attributes that the user can edit. Attributes present but not listed here |