diff options
author | Buchan Milne <buchan@mageia.org> | 2010-11-02 11:52:31 +0000 |
---|---|---|
committer | Buchan Milne <buchan@mageia.org> | 2010-11-02 11:52:31 +0000 |
commit | 11665d7a97e320fb38fd076da3ad7c62f36a1362 (patch) | |
tree | 47e2d0d0ebbd5378cdf5d114b00d6409dd161413 /catdap.yml | |
parent | ad910f316d564b05d2f8c416d84820250a4d2de3 (diff) | |
download | identity-11665d7a97e320fb38fd076da3ad7c62f36a1362.tar identity-11665d7a97e320fb38fd076da3ad7c62f36a1362.tar.gz identity-11665d7a97e320fb38fd076da3ad7c62f36a1362.tar.bz2 identity-11665d7a97e320fb38fd076da3ad7c62f36a1362.tar.xz identity-11665d7a97e320fb38fd076da3ad7c62f36a1362.zip |
Use roles
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 |