Page MenuHomePhorge

Fix issue with re-binding to an LDAP connection (T1318)
ClosedPublic

Authored by machniak on Jun 21 2016, 11:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 8, 12:13 AM
Unknown Object (File)
Thu, Apr 4, 8:15 PM
Unknown Object (File)
Mar 5 2024, 3:02 PM
Unknown Object (File)
Feb 25 2024, 4:39 PM
Unknown Object (File)
Feb 24 2024, 11:56 PM
Unknown Object (File)
Feb 24 2024, 3:29 AM
Unknown Object (File)
Feb 15 2024, 7:29 AM
Unknown Object (File)
Feb 15 2024, 5:40 AM
Subscribers
None

Details

Summary

Fixes T1318

Note that set_entry_attributes() will now use two LDAP connections, which may
or may not be what we want. I didn't find a simple way of using ldap_priv connection
in entry_dn() and get_entry_attributes().

Diff Detail

Repository
rP pykolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

machniak retitled this revision from to Fix issue with re-binding to an LDAP connection (T1318).
machniak updated this object.
machniak edited the test plan for this revision. (Show Details)
machniak added a reviewer: PyKolab Developers.

Get rid of unbind() and close ldap_priv connection on disconnect()

Call self._bind() before using self.entry_dn() method. @FIXME: _bind() should
probably be called explicitely by entry_dn()

This revision is now accepted and ready to land.Jun 29 2016, 11:21 AM
This revision was automatically updated to reflect the committed changes.