9369407 LDAP: Drop privileges after kinit in ldap_child

Authored and Committed by jhrozek 5 years ago
    LDAP: Drop privileges after kinit in ldap_child
    
    After ldap_child initializes privileges using root-owned keytab, it
    drops privileges to the SSSD user, minimizing the amount of code that
    runs as root.
    
    Reviewed-by: Michal Židek <mzidek@redhat.com>
    
        
file modified
+3 -1
file modified
+57 -33