Openldap stack level too deep

Hi!

I’m trying to setup Gitlab with OpenLdap integration but
when I try to login with any account I get:

“LDAP stack level too deep”

any hint?

I know this is an old conversation, but for the benefit of anybody in need that stumbles onto it: check to make sure that you have a mail property set in the LDAP entry, or any other property that GitLab may look for. Missing mail definitely causes this error.