Using set_rebind_proc(func) with a bound method

David Leonard david.leonard at
Wed Jun 6 14:50:32 CEST 2001

Actually, I just realised that rebind_callback is incompatible with
multiple LDAP objects.

when rebind_callback() is called, it should look up the LDAP object
based on LDAP*ld, and not use a global var rebind_callback_ld (although
it does check that they're related)..

unless there's a nice part of the LDAP structure I can stick a backreference
to the python LDAPObject in, this could be done by having a global hash
(dictionary) of LDAP pointers to LDAPObjects...

has anyone experienced problems with multiple LDAP objects and rebinding?

David Leonard                           David.Leonard at
DSTC                                    Room:78-632  Ph:+61 7 336 58358
The University of Queensland  
QLD 4072  AUSTRALIA                     B73CD65FBEF4C089B79A8EBADF1A932F13EA0FC8

The entire history of the world is the triumph of the heartless over
the mindless.  - Sir Humphrey Appleby, Yes Minister.

More information about the python-ldap mailing list