christopher.zorn at gmail.com
Tue Jun 14 14:58:37 EDT 2005
I hope this is the correct place to ask about this, forgive me if it is not.
I recently tried to use ldaptor. It is great!!
I ran into one problem though. I wanted to use startTLS and I had to call
So I put the following in front of some example code :
#d = c.connect(config['base'], config['serviceLocationOverrides'])
d = proto.startTLS()
d.addCallback(lambda _: proto)
This would hang. I went to find out and there was a deferred created that seemed
to have been getting lost. It was never called when handle was called in the
I attached a patch that allows me to use startTLS the way I did it, but I do not
know if this is correct. Please let me know if I am doing something
wrong or if this
is actually a bug.
The patch is to the file ldaptor/protocols/ldap/ldapclient.py
More information about the Twisted-Python