[python-ldap] Issue with TLS contexts...

Mark E. Haase mehaase at gmail.com
Tue Apr 29 20:55:07 CEST 2014


Michael, thanks for the pointer! It's working now. Really appreciate the
help. I was beginning to pull my hair out.


On Tue, Apr 29, 2014 at 2:38 AM, Michael Ströder <michael at stroeder.com>wrote:

> Mark E. Haase wrote:
> > I'm having an issue with TLS in python-ldap. I can get a few basic use
> > cases working, but it appears that it's not possible to change some TLS
> > context parameters at runtime after they have initially been set. Here's
> a
> > test case i've reproduced:
>
> ldap.set_option(ldap.OPT_X_TLS_NEWCTX, 0) has to be the last TLS option
> set.
>
> Yes, it's strange but that's the way the OpenLDAP API works.
>
> CIao, Michael.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20140429/9bc2c153/attachment.html>


More information about the python-ldap mailing list