#8787 Add pkey_only to the service_find calls in the host plugin
Closed: fixed by frenaud. Opened by rcritten.

Issue

When deleting or disabling a host all of that hosts services are also deleted or disabled.

A service_find() call is used to find the services for a given host. We only need the RDN of those services, not the entries.

Adding pki_only to the find will return just the DN values and skip the post_callback() in service_find which will skip the keytab presence query for each service and avoid all post processing on certificates, kerberos attributes, etc.


PR https://github.com/freeipa/freeipa/pull/5690

master:

  • a3b606c08f621e7e65cac5aea59aaecd5c791101 Add pkey_only to the service_find calls in host del and disable

ipa-4-9:

  • 7e0626a922f63779836026f5aa7872177be08eef Add pkey_only to the service_find calls in host del and disable

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata