summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/cert.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugins/cert.py')
-rw-r--r--ipalib/plugins/cert.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/ipalib/plugins/cert.py b/ipalib/plugins/cert.py
index e4918a480..679ac14a6 100644
--- a/ipalib/plugins/cert.py
+++ b/ipalib/plugins/cert.py
@@ -365,11 +365,7 @@ class cert_request(VirtualCommand):
if not add:
raise errors.NotFound(reason=_("The service principal for "
"this request doesn't exist."))
- try:
- service = api.Command['service_add'](principal, force=True)
- except errors.ACIError:
- raise errors.ACIError(info=_('You need to be a member of '
- 'the serviceadmin role to add services'))
+ service = api.Command['service_add'](principal, force=True)
service = service['result']
dn = service['dn']