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

1 file Authored by rcritten 2 years ago, Committed by frenaud 2 years ago,
    Add pkey_only to the service_find calls in host del and disable
    
    The pkey of services is krbprincipalname. The host plugin passes
    this full value to service_del and service_disable if the service
    hostname matches the requested host.
    
    This limits the amount of data and post-processing done
    when host_del and host_disable call service_find. It also saves
    a presence query for keytab in each service found.
    
    https://pagure.io/freeipa/issue/8787
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
    
        
file modified
+2 -2