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...
Ciao, Michael.