mirror of
https://github.com/lldap/lldap.git
synced 2024-11-25 09:06:03 +00:00
example_configs: add user_id mapping for nextcloud
This allows both LDAP and SSO backends to have consistent usernames
This commit is contained in:
parent
199a80ca5b
commit
85b83aff5f
1 changed files with 5 additions and 0 deletions
|
@ -74,6 +74,7 @@ occ ldap:set-config s01 ldapUserDisplayName displayname
|
|||
occ ldap:set-config s01 ldapUserFilterMode 1
|
||||
occ ldap:set-config s01 ldapUuidGroupAttribute auto
|
||||
occ ldap:set-config s01 ldapUuidUserAttribute auto
|
||||
occ ldap:set-config s01 ldapExpertUsernameAttr user_id
|
||||
```
|
||||
With a bit of of luck, you should be able to log in your nextcloud instance with LLDAP accounts in the `nextcloud_users` group.
|
||||
|
||||
|
@ -120,6 +121,10 @@ For example:
|
|||
```
|
||||
![groups configuration page](images/nextcloud_groups.png)
|
||||
|
||||
### Expert
|
||||
|
||||
Set `Internal Username` to `user_id`. This is needed to that the user ID used by Nextcloud corresponds to the `user_id` field and not the `UUID` field.
|
||||
|
||||
## Sharing restrictions
|
||||
|
||||
Go to Settings > Administration > Sharing and check following boxes :
|
||||
|
|
Loading…
Reference in a new issue