Active Directory email address

Hey everyone,

I’m having some trouble integrating Gitlab with my AD server.

I’ve got it up and running and things are working for existing users, but when a new user logs in for the first time and Gitlab creates the account is when I see issues.

My AD domain is “” and the email addresses are “” (minus the AD). When a new user logs in, their account is created and the email address Gitlab uses their samaccountname which is “” when I’d like to use the mail attribute which is “

I’ve looked through the config and haven’t been able to get anything to create the account as I want. Am I missing something or is this just not possible?