summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorDrew Blessing <drew@gitlab.com>2017-11-08 15:32:12 -0600
committerDrew Blessing <drew@gitlab.com>2018-01-04 17:10:40 -0600
commit7d1fdcdc836921d2f2324265752107519f47a6de (patch)
tree951e015c99c80817824106505f608d0dae78e5f1 /changelogs
parent2cbb2d0eceaed0f31c92d4eed8932e98f4f74559 (diff)
downloadgitlab-ce-7d1fdcdc836921d2f2324265752107519f47a6de.tar.gz
Modify `LDAP::Person` to return username value based on attributes
`Gitlab::LDAP::Person` did not respect the LDAP attributes username configuration and would simply return the uid value. There are cases where users would like to specify a different username field to allow more friendly GitLab usernames. For example, it's common in AD to have sAMAccountName be an employee ID like `A12345` while the local part of the email address is more human-friendly.
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/ldap_username_attributes.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/ldap_username_attributes.yml b/changelogs/unreleased/ldap_username_attributes.yml
new file mode 100644
index 00000000000..89bbca58fc9
--- /dev/null
+++ b/changelogs/unreleased/ldap_username_attributes.yml
@@ -0,0 +1,5 @@
+---
+title: Modify `LDAP::Person` to return username value based on attributes
+merge_request:
+author:
+type: fixed