Fixed openldap vs ldap user bug