[SSSD] [PATCHES] Fixes for select_principal_from_keytab()