[SSSD] [sssd PR#5226][reopened] python/pysss_nss_idmap: check return from functions