Skip to content

Document TLS options do not apply immediately #456

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Doc/reference/ldap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ This module defines the following functions:
connections. Applications should call :py:func:`set_option()` before
they establish connections with :py:func:`initialize`.

.. note::

Most `OPT_X_TLS_*` options do not take effect until `set_option(
OPT_X_TLS_NEWCTX, 0 )` is called.

.. versionchanged:: 3.1

The deprecated functions ``ldap.init()`` and ``ldap.open()`` were removed.
Expand Down Expand Up @@ -1338,6 +1343,11 @@ Connection-specific LDAP options
This method sets the value of the LDAPObject option
specified by *option* to *invalue*.

.. note::

Most `OPT_X_TLS_*` options do not take effect until `set_option(
OPT_X_TLS_NEWCTX, 0 )` is called.


Object attributes
-----------------
Expand Down