diff options
| author | Simo Sorce <simo@redhat.com> | 2016-01-05 16:04:49 -0500 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-01-13 16:09:38 +0100 |
| commit | 2144b1eeb789639b8a3df287b580aeb6196188a8 (patch) | |
| tree | 16891c12172f0bafc6ba21ae915e939bf3ab9a43 /doc/examples/python-api.py | |
| parent | 58ab032f1ae20454d4b9d760c7601fd8b44045f5 (diff) | |
| download | freeipa-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
