I have omitted to add that I'm connecting to an Active Directory server.
Moreover, from the doc: http://www.python-ldap.org/doc/html/ldap.html#ldap.LDAPObject.unbind_ext_s Once an unbind() is called, the connection has to be initialized again. So, indeed unbind should be called in the add_metadata method
Would it be perhaps a timeout issue?
I have omitted to add that I'm connecting to an Active Directory server.
Moreover, from the doc: www.python- ldap.org/ doc/html/ ldap.html# ldap.LDAPObject .unbind_ ext_s
http://
Once an unbind() is called, the connection has to be initialized again.
So, indeed unbind should be called in the add_metadata method
Would it be perhaps a timeout issue?