mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 00:31:56 -06:00
Fix regression introduced in ipa-certupdate
The fix for 6288 was overwritten by commit 08b7683130
.
https://fedorahosted.org/freeipa/ticket/6288
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
866e59bdce
commit
cd75eb3b25
@ -83,7 +83,10 @@ class CertUpdate(admintool.AdminTool):
|
||||
certs = certstore.get_ca_certs(ldap, api.env.basedn,
|
||||
api.env.realm, ca_enabled)
|
||||
|
||||
lwcas = api.Command.ca_find()['result']
|
||||
if ca_enabled:
|
||||
lwcas = api.Command.ca_find()['result']
|
||||
else:
|
||||
lwcas = []
|
||||
|
||||
api.Backend.rpcclient.disconnect()
|
||||
finally:
|
||||
|
Loading…
Reference in New Issue
Block a user