Thread:Extension talk:LDAP Authentication/Disconnects during LDAP authentication/reply (4)

Try setting $wgLDAPGroupUseRetrievedUsername so that it is true for your domain.