def METHOD_NAME(self, name: str, password: str) -> Optional[UserLdap]:
    """
    Try to log user to external LDAP
    Args:
        name: username
        password: password
    Returns: if logging success return a UserLDAP other None
    """
    user = self._fetch(name, password)
    if not user:
        return None
    return self._save_or_update(user)