By default all ldap users login to root profile

Hi

I have install GitLab Community edition on centos. Intergrade with Ldap.

Now i have two problems:

  1. Now users are able to login with ldap credentials but by default they getting logged in administrator (root) profile.

  2. How to add ldap user into group.

Can anyone help to fix it ?.

Thanks