[SSSD] [PATCH] Patches and improvements for the child_common.c module