Great thanks to you. It works fine~
At 2010-09-23 01:05:58，"Michael Ströder" <michael(a)stroeder.com> wrote:
Ralf Haferkamp wrote:
> If you really want the TLS context recreated with each iteration I
> think you can just call:
> ldap_set_option( NULL, LDAP_OPT_X_TLS_NEWCTX, LDAP_OPT_ON);
> after the above calls.
Ralf, does that really work? I did not manage to get
this working from python-ldap...