mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-07-29 23:58:23 -05:00
Fix default CA ACL added during upgrade
The upgrade script is adding the default CA ACL with incorrect attributes - usercategory=all instead of servicecategory=all. Fix it to create the correct object. Fixes: https://fedorahosted.org/freeipa/ticket/5185 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
committed by
Martin Basti
parent
1fc21e980b
commit
9bbc798741
@@ -1306,7 +1306,7 @@ def add_default_caacl(ca):
|
||||
|
||||
if not api.Command.caacl_find()['result']:
|
||||
api.Command.caacl_add(u'hosts_services_caIPAserviceCert',
|
||||
hostcategory=u'all', usercategory=u'all')
|
||||
hostcategory=u'all', servicecategory=u'all')
|
||||
api.Command.caacl_add_profile(u'hosts_services_caIPAserviceCert',
|
||||
certprofile=(u'caIPAserviceCert',))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user