Add Gitlab config to control ldap user name sync
What does this MR do and why?
Related to issue #11336 (closed)
Add a Gitlab config named prevent_sync_name
to ldap section to control ldap user name sync.
If we add prevent_sync_name: true
to Gitlab config file. like
ldap:
enabled: false
prevent_sync_name: true
servers:
...
We will not synchronize the ldap user's name to the gitlab user's name.
/cc @chaomao
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Zehua Zhang