Skip to content

Clarify ldap_connect/ldap_bind/ldap_set_option behavior#5275

Open
lacatoire wants to merge 3 commits into
php:masterfrom
lacatoire:fix/ldap-connect-bind-clarify
Open

Clarify ldap_connect/ldap_bind/ldap_set_option behavior#5275
lacatoire wants to merge 3 commits into
php:masterfrom
lacatoire:fix/ldap-connect-bind-clarify

Conversation

@lacatoire
Copy link
Copy Markdown
Member

@lacatoire lacatoire commented Feb 5, 2026

Clarifies that ldap_connect() only validates the URI and initializes parameters, while ldap_bind() establishes the actual TCP connection. Documents that TLS options must be set globally with null before bind.

Fixes #3526

@lacatoire lacatoire closed this Mar 2, 2026
@lacatoire lacatoire reopened this May 13, 2026
@lacatoire lacatoire force-pushed the fix/ldap-connect-bind-clarify branch from 5afdf8e to a8c7e47 Compare May 14, 2026 08:35
Comment thread reference/ldap/functions/ldap-connect.xml Outdated
Comment thread reference/ldap/functions/ldap-set-option.xml Outdated
@@ -23,14 +23,26 @@
<methodparam choice="opt"><type>int</type><parameter>port</parameter><initializer>389</initializer></methodparam>
</methodsynopsis>
<para>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be <simpara>

@jordikroon
Copy link
Copy Markdown
Member

@lacatoire could you go over your (older) PRs and alter to match with the style guide? So <para> to <simpara>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LDAP: ldap_connect()/ldap_bind()/ldap_set_option() is unclear

2 participants