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-07-11 10:11:38 +02:00
2018-10-10 09:56:40 +02:00
2017-03-27 19:08:26 +02:00
2018-09-27 16:11:18 +02:00
2018-11-13 12:40:44 +01:00
2018-06-12 08:38:56 +02:00
2018-02-09 08:57:41 +01:00
2018-01-09 07:53:28 +01:00
2018-11-21 08:57:08 +01:00
2018-09-27 11:49:04 +02:00
2018-09-27 10:23:03 +02:00
2018-07-11 10:11:38 +02:00
2016-10-12 10:38:52 +02:00
2018-09-27 16:11:18 +02:00
2017-06-15 13:51:06 +02:00
2018-11-21 08:57:08 +01:00
2018-06-21 15:30:58 +02:00
2018-09-27 16:11:18 +02:00
2016-06-03 09:00:34 +02:00
2018-07-11 10:11:38 +02:00
2016-10-12 10:38:52 +02:00
2016-10-12 10:38:52 +02:00
2017-07-14 15:55:59 +02:00
2018-02-23 14:39:34 +01:00
2016-10-12 10:38:52 +02:00
2018-06-21 15:30:58 +02:00
2018-12-07 11:39:23 +01:00
2018-10-02 16:37:17 +02:00
2018-06-21 18:42:05 +02:00
2018-07-14 12:04:19 +02:00
2018-07-12 15:26:25 +02:00
2016-06-17 18:05:03 +02:00
2018-09-27 10:23:03 +02:00
2016-12-02 13:00:06 +01:00
2018-01-09 07:53:28 +01:00
2016-06-03 09:00:34 +02:00
2016-06-03 09:00:34 +02:00
2018-10-05 12:06:19 +02:00
2017-07-14 15:55:59 +02:00
2018-11-08 13:16:26 +01:00
2016-06-03 09:00:34 +02:00
2017-09-12 15:59:20 +02:00
2018-07-14 12:04:19 +02:00
2018-06-12 08:38:56 +02:00
2018-04-20 09:43:37 +02:00
2018-11-13 12:40:44 +01:00
2018-07-11 10:11:38 +02:00
2018-07-14 12:04:19 +02:00
2018-06-12 08:38:56 +02:00
2016-10-12 10:38:52 +02:00
2018-07-11 10:11:38 +02:00
2018-07-06 13:26:43 +02:00
2018-07-06 13:26:43 +02:00
2018-06-21 15:30:58 +02:00
2018-12-11 12:14:32 +01:00
2017-03-27 19:08:26 +02:00
2018-06-21 18:42:05 +02:00
2018-04-20 09:43:37 +02:00
2016-06-03 09:00:34 +02:00
2017-09-08 15:42:07 +02:00
2016-10-12 10:38:52 +02:00
2018-08-15 12:52:52 +02:00
2018-06-21 15:30:58 +02:00
2018-06-21 15:30:58 +02:00
2018-07-14 12:04:19 +02:00
2018-06-12 08:38:56 +02:00
2017-07-14 15:55:59 +02:00
2017-07-07 14:44:42 +02:00
2018-07-17 15:32:28 -04:00