Using set_rebind_proc(func) with a bound method

David Leonard david.leonard at csee.uq.edu.au
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?

d
-- 
David Leonard                           David.Leonard at dstc.edu.au
DSTC                                    Room:78-632  Ph:+61 7 336 58358
The University of Queensland            http://www.dstc.edu.au/
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