6ed964c IPA: Handle sssd-owned keytabs when running as root

Authored and Committed by jhrozek 6 years ago
    IPA: Handle sssd-owned keytabs when running as root
    
    https://fedorahosted.org/sssd/ticket/2718
    
    This patch handles the case where the keytab is created with sssd:sssd
    ownership (perhaps by the IPA oddjob script) but SSSD runs as root,
    which is the default in many distributions.
    
    Reviewed-by: Alexander Bokovoy <abokovoy@redhat.com>