summaryrefslogtreecommitdiffstats
path: root/doc/examples/python-api.py
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2016-01-05 16:04:49 -0500
committerMartin Basti <mbasti@redhat.com>2016-01-13 16:09:38 +0100
commit2144b1eeb789639b8a3df287b580aeb6196188a8 (patch)
tree16891c12172f0bafc6ba21ae915e939bf3ab9a43 /doc/examples/python-api.py
parent58ab032f1ae20454d4b9d760c7601fd8b44045f5 (diff)
downloadfreeipa-2144b1eeb789639b8a3df287b580aeb6196188a8.tar.gz
freeipa-2144b1eeb789639b8a3df287b580aeb6196188a8.tar.xz
freeipa-2144b1eeb789639b8a3df287b580aeb6196188a8.zip
Always verify we have a valid ldap context.
LDAP calls just assert if an invalid (NULL) context is passed in, so we need to be sure we have a valid connection context before calling into LDAP APIs and fail outright if a context can't be obtained. https://fedorahosted.org/freeipa/ticket/5577 Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'doc/examples/python-api.py')
0 files changed, 0 insertions, 0 deletions