No email sync from ldap

Hello,

I just installed a Gitlab instance on a lunix server, and I link it to my LDAP (freeipa).
ldap user can connect without issue but the email address doesn’t sync from ldap…

I searched on google and gitlab documentation without success…

I’m in tier free maybe this is the explanation but if there is a configuration subtility I take it :slightly_smiling_face:

This is my ldap config :

gitlab_rails['ldap_servers'] = {
  'main' => {
    'label' => 'freeipa',
    'host' =>  '*****************',
    'port' => 636,
    'uid' => 'uid',
    'bind_dn' => 'uid=ldap-gitlab,cn=users,cn=accounts,dc=****,dc=****,dc=****',
    'password' => '**********************',
    'encryption' => 'simple_tls',
    'verify_certificates' => false,
    'timeout' => 10,
    'active_directory' => false,
    'user_filter' => '',
    'base' => 'dc=****,dc=****,dc=****',
    'lowercase_usernames' => 'false',
    'retry_empty_result_with_codes' => [80],
    'allow_username_or_email_login' => false,
    'block_auto_created_users' => false
  }
}

Thanks for advance for your help

No one can can help me ?

I believe as per the docs you need to set the email option and for which fields it is supposed to pull the email address from LDAP: Integrate LDAP with GitLab | GitLab

at least as far as I can guess from the docs. You’ll have to play around with that.