[task] added check if ldap user exists as internal user