Fix flag system for sssd