Files
freeipa/ipaserver/plugins
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
..
2010-12-20 17:19:53 -05:00
2018-10-10 09:56:40 +02:00
2017-03-27 19:08:26 +02:00
2018-02-09 08:57:41 +01:00
2018-01-09 07:53:28 +01:00
2018-09-27 11:49:04 +02:00
2018-09-27 16:11:18 +02:00
2018-07-14 12:04:19 +02:00
2018-07-12 15:26:25 +02:00
2018-01-09 07:53:28 +01:00
2018-10-05 12:06:19 +02:00
2018-07-14 12:04:19 +02:00
2018-04-20 09:43:37 +02:00
2018-07-14 12:04:19 +02:00
2018-07-06 13:26:43 +02:00
2017-09-08 15:42:07 +02:00
2018-07-14 12:04:19 +02:00