set ldapExpertUsernameAttr to user_id in nextcloud ldap app
https://github.com/lldap/lldap/pull/907
This commit is contained in:
parent
e6b11a5acb
commit
d8ba5f97b8
2 changed files with 6 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
- Remove `shb.vaultwarden.ldapEndpoint` option because it was not used in the implementation anyway.
|
- Remove `shb.vaultwarden.ldapEndpoint` option because it was not used in the implementation anyway.
|
||||||
- Bump Nextcloud default version from 27 to 28. Add support for version 29.
|
- Bump Nextcloud default version from 27 to 28. Add support for version 29.
|
||||||
- Deluge config breaks the authFile into an attrset of user to password file. Also deluge has tests now.
|
- Deluge config breaks the authFile into an attrset of user to password file. Also deluge has tests now.
|
||||||
|
- Nextcloud now configures the LDAP app to use the `user_id` from LLDAP as the user ID used in Nextcloud. This makes all source of user - internal, LDAP and SSO - agree on the user ID.
|
||||||
|
|
||||||
## User Facing Backwards Compatible Changes
|
## User Facing Backwards Compatible Changes
|
||||||
|
|
||||||
|
|
|
@ -852,6 +852,11 @@ in
|
||||||
'1'
|
'1'
|
||||||
${occ} ldap:set-config "${cID}" 'ldapUserFilterObjectclass' \
|
${occ} ldap:set-config "${cID}" 'ldapUserFilterObjectclass' \
|
||||||
'person'
|
'person'
|
||||||
|
# Makes the user_id used when creating a user through LDAP which means the ID used in
|
||||||
|
# Nextcloud is compatible with the one returned by a (possibly added in the future) SSO
|
||||||
|
# provider.
|
||||||
|
${occ} ldap:set-config "${cID}" 'ldapExpertUsernameAttr' \
|
||||||
|
'user_id'
|
||||||
|
|
||||||
${occ} ldap:test-config -- "${cID}"
|
${occ} ldap:test-config -- "${cID}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue