[SSSD] [sssd PR#407][synchronized] Backport of PR#275 to SSSD-1.13