#5136 trust-fetch-domains: Do not chown keytab to the sssd user
Closed: Fixed None Opened 8 years ago by tbabej.

Currently, in the com.redhat.idm.trust-fetch-domains, we chown the retrieved keytab to the sssd user:

    # Make sure SSSD is able to read the keytab
    sssd = pwd.getpwnam('sssd')
    os.chown(oneway_keytab_name, sssd[2], sssd[3])

However, if sssd user does not exist, sssd is not running under the sssd user (and therefore cannot access the keytab). We should use root:root in such case.


master:

  • c6a1bd5 oddjob: avoid chown keytab to sssd if sssd user does not exist

ipa-4-2:

  • d7f91dc oddjob: avoid chown keytab to sssd if sssd user does not exist

Metadata Update from @tbabej:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.2.1

7 years ago

Login to comment on this ticket.

Metadata