ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:database:ldap

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
database:ldap [2015/10/08 03:51] – [Available Methods] mnewnhamv5:database:ldap [2021/04/26 10:13] – [Custom Functionality] format options list as table dregad
Line 1: Line 1:
 ====== LDAP ====== ====== LDAP ======
 +~~NOTOC~~
 +<WRAP right box round 300px>
 +== Specification ==
 +^Driver Name|ldap|
 +^Data Provider|ldap|
 +^Status|Inactive((This driver is not actively supported or enhanced by ADOdb project members, but you can provide fixes and enhancements if you have the expertise))|
 +^Windows|Yes|
 +^Unix|Perhaps((We have never tried it except against Microsoft LDAP servers from Windows))|
 +^ADOdb V5|Yes|
 +^ADOdb V6|Yes|
 +
 +</WRAP>
 ===== Description ===== ===== Description =====
 The ''ldap'' driver provides a small subset of ADOdb commands allowing **read-only** access to an LDAP database. The ''ldap'' driver provides a small subset of ADOdb commands allowing **read-only** access to an LDAP database.
-===== Specification ===== 
-|Driver|ldap| 
-|Status|Active| 
-|Supported OS|Windows Yes, Other platforms unknown| 
 ===== Available Methods ===== ===== Available Methods =====
 The following methods are available for use with the LDAP driver: The following methods are available for use with the LDAP driver:
  
-  * [[reference:getassoc|getAssoc()]] +  * [[v5:reference:connection:getassoc|getAssoc()]] 
-  * [[reference:selectdb|selectDb()]] +  * [[v5:reference:connection:selectdb|selectDb()]] 
-  * [[dictionary:serverinfo|serverInfo()]] +  * [[v5:dictionary:serverinfo|serverInfo()]] 
-  * [[reference:getrowassoc|getRowAssoc()]]+  * [[v5:reference:connection:getrowassoc|getRowAssoc()]]
      
 Calls to other methods when used with this driver may produce unexpected results or program failure.  Calls to other methods when used with this driver may produce unexpected results or program failure. 
Line 23: Line 31:
 ===== Custom Functionality ===== ===== Custom Functionality =====
 If defined prior to connection, the following variables will be passed as input bind variables. If defined prior to connection, the following variables will be passed as input bind variables.
-Valid Domain Values for LDAP Options: +Valid Domain Values for LDAP Connection Options: 
-  LDAP_OPT_DEREF (integer) + 
-  LDAP_OPT_SIZELIMIT (integer) +^ OPTION_NAME ^ Type ^ 
-  LDAP_OPT_TIMELIMIT (integer) +| ''LDAP_OPT_DEREF''integer | 
-  LDAP_OPT_PROTOCOL_VERSION (integer) +| ''LDAP_OPT_SIZELIMIT''integer | 
-  LDAP_OPT_ERROR_NUMBER (integer) +| ''LDAP_OPT_TIMELIMIT''integer | 
-  LDAP_OPT_REFERRALS (boolean) +| ''LDAP_OPT_PROTOCOL_VERSION''integer | 
-  LDAP_OPT_RESTART (boolean) +| ''LDAP_OPT_ERROR_NUMBER''integer | 
-  LDAP_OPT_HOST_NAME (string) +| ''LDAP_OPT_REFERRALS''boolean | 
-  LDAP_OPT_ERROR_STRING (string) +| ''LDAP_OPT_RESTART''boolean | 
-  LDAP_OPT_MATCHED_DN (string) +| ''LDAP_OPT_HOST_NAME''string | 
-  LDAP_OPT_SERVER_CONTROLS (array) +| ''LDAP_OPT_ERROR_STRING''string | 
-  LDAP_OPT_CLIENT_CONTROLS (array)+| ''LDAP_OPT_MATCHED_DN''string | 
 +| ''LDAP_OPT_SERVER_CONTROLS''array | 
 +| ''LDAP_OPT_CLIENT_CONTROLS''array |
  
 Make sure to set this BEFORE calling Connect() Make sure to set this BEFORE calling Connect()
Line 71: Line 81:
 ); );
 </code> </code>
 +
 +{{tag>[dormant tier2]}}
 +
v5/database/ldap.txt · Last modified: 2023/11/18 23:45 by mnewnham