I just upgraded from 7.14.3 to 8.0.1 CE,

I can see that the code has the submissions to implement custom ldap 
attributes (previously in 7.14.3 it was missing).

Anyway, despite the code now being more up-to-date the feature of mapping 
the users name to displayName inside ldap isn't working.  Any suggestions?
 

On Monday, September 21, 2015 at 1:10:27 PM UTC-5, Michael wrote:
>
> 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/27a6ba9c-2121-4375-9b2a-e0a4cea2085b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to