[SSSD] [sssd PR#408][synchronized] Backport of PR#275 to SSSD-1.14