Files
freeipa/ipaserver
Christian Heimes c09927d16a Handle service_del with bad service name
The command 'ipa service-del badservice' used to fail with an internal
server error, because check_required_principal() could not handle a
principal that is not a service principal. All del commands have less
strict error checking of primary keys so they can reference any stored
key, even illegal ones.

check_required_principal() skips required principal check if the
principal is not a service principal. A non-service principal can never
be a required principal.

Fixes: https://pagure.io/freeipa/issue/7793
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2018-12-11 12:14:32 +01:00
..
2018-10-05 12:06:19 +02:00
2010-12-20 17:19:53 -05:00
2018-10-05 12:06:19 +02:00
2016-10-20 18:43:37 +02:00
2018-07-05 19:46:42 +02:00