LDAP User E-Mail field is empty

Hello,

I’m using GitLab CE.
I configured the ldap-authetication. Now i can login with a ldap-user but this user has no e-mail adress which i can see in profile tab.
I already set the right ldap i think. So my ldap-attributes are those (from gitlab.rb):
attributes:
username: ‘uid’
email: [‘mail’, ‘email’, ‘mailPrimaryAddress’]
name: ‘cn’
first_name: ‘givenName’
last_name: ‘sn’

I’m using univention(openldap) as backend for this openldap the attribute is ‘mailPrimaryAddress’.

I can login to the gitlab web with my profiles email address but it isn’t shown in email field

I am very new to gitlab, so where can i start debugging/solve this?

Regards
Raphael

I solved this Issue by adding the right ldap-Attributes.
I use Univention(openldap) as backend so i had to add those lines to gitlab.rb:
attributes:
email: [‘mailPrimaryAddress’, ‘mail’, ‘email’]