summaryrefslogtreecommitdiffstats
path: root/ipapython/errors.py
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-12-12 13:56:51 -0500
committerMartin Kosek <mkosek@redhat.com>2015-01-08 11:55:25 +0100
commit730b472db123e97a0c158b626e9f7c3f0b13e2ca (patch)
tree218a15346b30d721af0467e0e846d7b74d26930d /ipapython/errors.py
parent3c69435c1b18ad9827f53d31e97ee88fa0eb9370 (diff)
downloadfreeipa-730b472db123e97a0c158b626e9f7c3f0b13e2ca.tar.gz
freeipa-730b472db123e97a0c158b626e9f7c3f0b13e2ca.tar.xz
freeipa-730b472db123e97a0c158b626e9f7c3f0b13e2ca.zip
Avoid calling ldap functions without a context
We need to make sure we have a ld context before we can load the configuration, otherwise ldap APIs will abort crashing the KDC. If we have an issue connecting to LDAP the lcontext will be NULL, but we are not checking that condition when we try to refresh the global configuration. https://fedorahosted.org/freeipa/ticket/4810 Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-By: Martin Kosek <mkosek@redhat.com>
Diffstat (limited to 'ipapython/errors.py')
0 files changed, 0 insertions, 0 deletions