-
Notifications
You must be signed in to change notification settings - Fork 736
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
PHP-8.4: LDAP changes #4066
base: master
Are you sure you want to change the base?
PHP-8.4: LDAP changes #4066
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -16,84 +16,96 @@ | |||||||||
<methodparam choice="opt"><type>string</type><parameter role="reference">response_data</parameter><initializer>&null;</initializer></methodparam> | ||||||||||
<methodparam choice="opt"><type>string</type><parameter role="reference">response_oid</parameter><initializer>&null;</initializer></methodparam> | ||||||||||
</methodsynopsis> | ||||||||||
<para> | ||||||||||
|
||||||||||
</para> | ||||||||||
|
||||||||||
&warn.undocumented.func; | ||||||||||
|
||||||||||
<simpara> | ||||||||||
Performs an extended operation on the specified <parameter>ldap</parameter> with | ||||||||||
<parameter>request_oid</parameter> the OID of the operation and | ||||||||||
<parameter>request_data</parameter> the data. | ||||||||||
</simpara> | ||||||||||
</refsect1> | ||||||||||
|
||||||||||
<refsect1 role="parameters"> | ||||||||||
&reftitle.parameters; | ||||||||||
<para> | ||||||||||
<variablelist> | ||||||||||
<varlistentry> | ||||||||||
<term><parameter>ldap</parameter></term> | ||||||||||
<listitem> | ||||||||||
<para> | ||||||||||
&ldap.parameter.ldap; | ||||||||||
</para> | ||||||||||
</listitem> | ||||||||||
</varlistentry> | ||||||||||
<varlistentry> | ||||||||||
<term><parameter>request_oid</parameter></term> | ||||||||||
<listitem> | ||||||||||
<para> | ||||||||||
|
||||||||||
</para> | ||||||||||
</listitem> | ||||||||||
</varlistentry> | ||||||||||
<varlistentry> | ||||||||||
<term><parameter>request_data</parameter></term> | ||||||||||
<listitem> | ||||||||||
<para> | ||||||||||
|
||||||||||
</para> | ||||||||||
</listitem> | ||||||||||
</varlistentry> | ||||||||||
<varlistentry> | ||||||||||
<term><parameter>controls</parameter></term> | ||||||||||
<listitem> | ||||||||||
<para> | ||||||||||
|
||||||||||
</para> | ||||||||||
</listitem> | ||||||||||
</varlistentry> | ||||||||||
<varlistentry> | ||||||||||
<term><parameter>response_data</parameter></term> | ||||||||||
<listitem> | ||||||||||
<para> | ||||||||||
|
||||||||||
</para> | ||||||||||
</listitem> | ||||||||||
</varlistentry> | ||||||||||
<varlistentry> | ||||||||||
<term><parameter>response_oid</parameter></term> | ||||||||||
<listitem> | ||||||||||
<para> | ||||||||||
|
||||||||||
</para> | ||||||||||
</listitem> | ||||||||||
</varlistentry> | ||||||||||
</variablelist> | ||||||||||
</para> | ||||||||||
<variablelist> | ||||||||||
<varlistentry> | ||||||||||
<term><parameter>ldap</parameter></term> | ||||||||||
<listitem> | ||||||||||
<para> | ||||||||||
&ldap.parameter.ldap; | ||||||||||
</para> | ||||||||||
</listitem> | ||||||||||
</varlistentry> | ||||||||||
<varlistentry> | ||||||||||
<term><parameter>request_oid</parameter></term> | ||||||||||
<listitem> | ||||||||||
<para> | ||||||||||
The extended operation request OID. | ||||||||||
Can be one of the | ||||||||||
<constant>LDAP_EXOP_<replaceable>*</replaceable></constant> | ||||||||||
constants, | ||||||||||
or a string with the OID of the operation. | ||||||||||
</para> | ||||||||||
</listitem> | ||||||||||
</varlistentry> | ||||||||||
<varlistentry> | ||||||||||
<term><parameter>request_data</parameter></term> | ||||||||||
<listitem> | ||||||||||
<para> | ||||||||||
The extended operation request data. | ||||||||||
May be NULL for some operations like <constant>LDAP_EXOP_WHO_AM_I</constant>, | ||||||||||
may also need to be BER encoded. | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe
Suggested change
(means "Basic Encoding Rules" in this context; however, "Bit Error Rate" seems also pretty common, so there might be an acronym clash) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||||||||
</para> | ||||||||||
</listitem> | ||||||||||
</varlistentry> | ||||||||||
<varlistentry> | ||||||||||
<term><parameter>controls</parameter></term> | ||||||||||
<listitem> | ||||||||||
<para> | ||||||||||
Array of <link linkend="ldap.controls">LDAP Controls</link> to send with the request. | ||||||||||
</para> | ||||||||||
</listitem> | ||||||||||
</varlistentry> | ||||||||||
<varlistentry> | ||||||||||
<term><parameter>response_data</parameter></term> | ||||||||||
<listitem> | ||||||||||
<para> | ||||||||||
Will be filled with the extended operation response data if provided. | ||||||||||
If not provided <function>ldap_parse_exop</function> may be used on the | ||||||||||
result object later to get this data. | ||||||||||
</para> | ||||||||||
</listitem> | ||||||||||
</varlistentry> | ||||||||||
<varlistentry> | ||||||||||
<term><parameter>response_oid</parameter></term> | ||||||||||
<listitem> | ||||||||||
<para> | ||||||||||
Will be filled with the response OID if provided, | ||||||||||
usually equal to the request OID. | ||||||||||
Comment on lines
+81
to
+82
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe
Suggested change
(means "Object Identifier") |
||||||||||
</para> | ||||||||||
</listitem> | ||||||||||
</varlistentry> | ||||||||||
</variablelist> | ||||||||||
</refsect1> | ||||||||||
|
||||||||||
<refsect1 role="returnvalues"> | ||||||||||
&reftitle.returnvalues; | ||||||||||
<para> | ||||||||||
|
||||||||||
</para> | ||||||||||
<simpara> | ||||||||||
When used with <parameter>response_data</parameter>, | ||||||||||
returns &true; on success or &false; on error. | ||||||||||
When used without <parameter>response_data</parameter>, | ||||||||||
returns a result identifier or &false; on error. | ||||||||||
</simpara> | ||||||||||
</refsect1> | ||||||||||
|
||||||||||
<refsect1 role="seealso"> | ||||||||||
&reftitle.seealso; | ||||||||||
<para> | ||||||||||
<simplelist> | ||||||||||
<member><function>ldap_exop</function></member> | ||||||||||
</simplelist> | ||||||||||
</para> | ||||||||||
<simplelist> | ||||||||||
<member><function>ldap_exop</function></member> | ||||||||||
<member><function>ldap_exop_whoami</function></member> | ||||||||||
<member><function>ldap_exop_refresh</function></member> | ||||||||||
<member><function>ldap_exop_passwd</function></member> | ||||||||||
<member><function>ldap_parse_result</function></member> | ||||||||||
<member><function>ldap_parse_exop</function></member> | ||||||||||
</simplelist> | ||||||||||
</refsect1> | ||||||||||
|
||||||||||
</refentry> | ||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.