You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TLS/SSL and X.509 are tricky. OpenLDAP adds some additional gotchas to the stack. We should document them so users don't run into issues like pyldap/pyldap#53
start_tls_s() requires protocol version 3. It does not work with protocol version 2.
Several, perhaps all set_option(OPT_X_TLS_*, ...) calls require a final set_option(ldap.OPT_X_TLS_NEWCTX, 0) call to submit all previous set_option() calls. Without OPT_X_TLS_NEWCTX, settings are effectively ignored.
TLS/SSL and X.509 are tricky. OpenLDAP adds some additional gotchas to the stack. We should document them so users don't run into issues like pyldap/pyldap#53
start_tls_s()requires protocol version 3. It does not work with protocol version 2.set_option(OPT_X_TLS_*, ...)calls require a finalset_option(ldap.OPT_X_TLS_NEWCTX, 0)call to submit all previousset_option()calls. WithoutOPT_X_TLS_NEWCTX, settings are effectively ignored.OPT_X_TLS_NEWCTXis requiredOPT_X_TLS_*are useless.