mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Improve client install LDAP cert retrieval fallback
CA certificate retrieval function did not fallback from LDAP to HTTP based retrieval in case of an LDAP error, when for example GSSAPI authentication failed. https://fedorahosted.org/freeipa/ticket/3512
This commit is contained in:
parent
6540eff468
commit
1336b39906
@ -1624,7 +1624,7 @@ def get_ca_cert(fstore, options, server, basedn):
|
||||
except Exception, e:
|
||||
os.unlink(ca_file)
|
||||
raise
|
||||
except errors.NoCertificateError, e:
|
||||
except (errors.NoCertificateError, errors.LDAPError), e:
|
||||
root_logger.debug(str(e))
|
||||
url = http_url()
|
||||
if existing_ca_cert:
|
||||
|
Loading…
Reference in New Issue
Block a user