Hello,

I'm curious if 4.17.3 supports ldap custom Name mapping to ldap attribtues 
field inside GitLab.  The following pages suggest it should now be working 
and I upgraded from 7.14.1

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/1261
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG

Name field is still mapping to Distingushed Name DN= Field to first comma.. 
any advice is appreciated, thanks.

I'm using the following inside /etc/gitlab/gitlab.rb

gitlab_rails['ldap_enabled'] = true
gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' # remember to close this 
block with 'EOS' below
main: # 'main' is the GitLab 'provider ID' of this LDAP server
 label: 'LDAP'
 host: 'ldap.edu'
 port: 636
 uid: 'sAMAccountName'
 method: 'ssl'
 bind_dn: '<DN WENT HERE>'
 password: '<PASSWORD HERE>'
 active_directory: true

 attributes:
   username: ['uid', 'sAMAccountName']
   name: 'displayName'
   email: ['mail', 'userPrincipalName']
   first_name: 'givenName'
   last_name: 'sn'
 allow_username_or_email_login: false
 block_auto_created_users: false
 base: 'dc=ldap,dc=edu'
EOS

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/de8a9516-f4a5-4e6f-8858-de730dff17d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to