rfc:ldap_controls

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
rfc:ldap_controls [2017/07/13 09:01] – created mcmicrfc:ldap_controls [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== PHP RFC: Your Title Here ======+====== PHP RFC: LDAP controls ======
   * Version: 0.1   * Version: 0.1
   * Date: 2017-07-13   * Date: 2017-07-13
Line 13: Line 13:
  
 ===== Proposal ===== ===== Proposal =====
-All the features and examples of the proposal.+In the actual state, controls can be set or get with ldap_get_option and ldap_set_option, in which case they are represented by associative arrays like this: 
 +<code php> 
 +array( 
 + 'oid' => <string>, 
 + 'iscritical' => <boolean>, 
 + 'value' => <ber encoded value> 
 +
 +</code> 
 +The value is directly the ber encoded value, and PHP provides no easy way to encode/decode ber encoding directly. 
 + 
 +The other way controls can be used is through ldap_control_paged_results/ldap_control_paged_result_response for the control for paged results.
  
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
rfc/ldap_controls.1499936499.txt.gz · Last modified: 2017/09/22 13:28 (external edit)