diff options
| author | Nathaniel McCallum <npmccallum@redhat.com> | 2015-12-14 10:12:26 -0500 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-01-12 12:28:44 +0100 |
| commit | 563bddce6d0c3e31f4858edb25f1260af8cc3c44 (patch) | |
| tree | 18eed1c46df61d762c333ca7fba6cdf02cbd341d /doc/examples/python-api.py | |
| parent | 34b197afa4beb0a84ca01cb594c39859abdc4706 (diff) | |
| download | freeipa-563bddce6d0c3e31f4858edb25f1260af8cc3c44.tar.gz freeipa-563bddce6d0c3e31f4858edb25f1260af8cc3c44.tar.xz freeipa-563bddce6d0c3e31f4858edb25f1260af8cc3c44.zip | |
Don't error when find_base() fails if a base is not required
We always have to call find_base() in order to force libldap to open
the socket. However, if no base is actually required then there is
no reason to error out if find_base() fails. This condition can arise
when anonymous binds are disabled.
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'doc/examples/python-api.py')
0 files changed, 0 insertions, 0 deletions
