rfc:ldap_exop
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:ldap_exop [2017/06/29 14:33] – mcmic | rfc:ldap_exop [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2017-06-26 | * Date: 2017-06-26 | ||
* Author: Côme Chilliet, mcmic@php.net | * Author: Côme Chilliet, mcmic@php.net | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 31: | Line 31: | ||
This RFC also wish to introduce helper functions for common EXOP usage: | This RFC also wish to introduce helper functions for common EXOP usage: | ||
<code php> | <code php> | ||
- | bool ldap_exop_whoami(resource $link, string & | + | bool|string |
- | bool ldap_exop_passwd(resource $link, string $user, string $oldpw, string $newpw | + | bool|string |
</ | </ | ||
- | The first one would call whoami EXOP and fill $result with the result. | + | The first one would call whoami EXOP and returns |
- | The second one would call passwd EXOP and return TRUE or FALSE upon failure. If $newpw is empty, | + | The second one would call passwd EXOP and return TRUE or FALSE upon failure. If $newpw is empty, |
The author of the original patch stated that technically ldap_start_tls is an exop helper and therefore could be renamed ldap_exop_start_tls. We feel this would be a useless BC. | The author of the original patch stated that technically ldap_start_tls is an exop helper and therefore could be renamed ldap_exop_start_tls. We feel this would be a useless BC. | ||
Line 95: | Line 95: | ||
===== Open Issues ===== | ===== Open Issues ===== | ||
- | - Should the function names contain the word " | ||
- Should we include a constant for LDAP_EXOP_CANCEL, | - Should we include a constant for LDAP_EXOP_CANCEL, | ||
Line 114: | Line 113: | ||
===== Implementation ===== | ===== Implementation ===== | ||
- | After the project is implemented, | + | Merged in PHP 7.2 |
- | - the version(s) it was merged to | + | https:// |
- | - a link to the git commit(s) | + | |
- a link to the PHP manual entry for the feature | - a link to the PHP manual entry for the feature | ||
- | - a link to the language specification section (if any) | ||
===== References ===== | ===== References ===== |
rfc/ldap_exop.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1