doksu / TA-pyLDAP

Python LDAP Technology Add-On for Splunk
Other
1 stars 1 forks source link

Unbind after fetching the results #2

Closed bplaxco closed 3 years ago

bplaxco commented 4 years ago

It seems that l.unbind_s() was closing the connection before the app was done using it.

This fixes this error on my local Splunk instance:

LDAPError at "/opt/splunk/etc/apps/TA-pyLDAP/bin/ldap/ldapobject.py", line 106 : LDAP connection invalid