mirror of
https://github.com/zulip/zulip.git
synced 2025-10-22 20:42:14 +00:00
ldap: Improve unique_account_id defaults and docs.
Some installations will change `dn` when a user marries, and also for Active Directory and various other LDAP providers I've checked, there's often a better value to use.
This commit is contained in:
@@ -244,7 +244,7 @@ AUTH_LDAP_USER_ATTR_MAP = {
|
||||
## A stable unique identifier for a user allows Zulip to
|
||||
## automatically handle email address changes.
|
||||
## See https://zulip.readthedocs.io/en/latest/production/authentication-methods.html#identifying-user-accounts-via-a-unique-ldap-attribute
|
||||
"unique_account_id": "dn",
|
||||
# "unique_account_id": "objectSid",
|
||||
##
|
||||
## Profile pictures can be pulled from the LDAP "thumbnailPhoto"/"jpegPhoto" field.
|
||||
# "avatar": "thumbnailPhoto",
|
||||
|
||||
Reference in New Issue
Block a user