Fixing ldap resolver

Closes #63