LDAP runs and mock mode works