mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Check LDAP instead of local configuration to see if IPA CA is enabled
The check is done using a new hidden command ca_is_enabled. https://fedorahosted.org/freeipa/ticket/4621 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
committed by
Martin Kosek
parent
6227ebb0cd
commit
608851d3f8
@@ -71,7 +71,7 @@ def subject_base():
|
||||
return _subject_base
|
||||
|
||||
def valid_issuer(issuer):
|
||||
if not api.env.enable_ra:
|
||||
if not api.Command.ca_is_enabled()['result']:
|
||||
return True
|
||||
# Handle all supported forms of issuer -- currently dogtag only.
|
||||
if api.env.ra_plugin == 'dogtag':
|
||||
|
||||
Reference in New Issue
Block a user