Table of Contents |
LDAP4D Directory at A Dog And His Boy |
LDAP4D Directory - Access Methods |
|
About this section... |
This section describes the methods which provide get/set
access to
process variables used by LDAP4D Directory. |
LDAPD_BindCompleted |
||||||||||||||||
Syntax: |
result := LDAPD_BindCompleted ( {bBindCompleted:Boolean} ) |
|||||||||||||||
Description: |
Get/Set whether a bind was completed successfully in this
handler. If binds are required as set by LDAPD_RequireBind,
it
will
check
the username and password sent in bind attempts.
against those set with LDAPD_BindArraysSet. |
|||||||||||||||
Warning: |
||||||||||||||||
Note: |
|
|||||||||||||||
Params: |
|
|||||||||||||||
Example: |
$flag := LDAP_BindCompleted |
LDAPD_iError |
|||||||||||
Syntax: |
result:= LDAPD_iError |
||||||||||
Description: |
Returns the current value of errors created by calls to LDAP4D
Directory methods. |
||||||||||
Warning: |
none | ||||||||||
Note: |
|
||||||||||
Params: |
|
||||||||||
Example: |
$err := LDAP_iError |
LDAPD_NumAttributesRequested |
||||||||||||||||
Syntax: |
iResult:= LDAPD_NumAttributesRequested |
|||||||||||||||
Description: |
Number of attributes requested by a search. |
|||||||||||||||
Warning: |
Only valid immediately after search request is successfully parsed. | |||||||||||||||
Note: |
|
|||||||||||||||
Params: |
|
|||||||||||||||
Example: |
$iNumbAttributes := LDAPD_NumAttributesRequested |
LDAPD_NumOperators |
|||||||||||
Syntax: |
result := LDAPD_NumOperators |
||||||||||
Description: |
The number of operators parsed out of LDAP filter in a search
request. This is used to build the search in 4D that responds to LDAP
search requests. |
||||||||||
Warning: |
Only valid immediately after a search request is successfully
parsed. |
||||||||||
Note: |
|
||||||||||
Params: |
|
||||||||||
Example: |
$num := LDAPD_NumOperators |
LDAPD_Port |
||||||||||||||||
Syntax: |
result := LDAPD_Port ( {iPort:LI} ) |
|||||||||||||||
Description: |
Get/set the port used by LDAP4D Directory. Default is 1389. |
|||||||||||||||
Warning: |
none | |||||||||||||||
Note: |
389 is the "standard" LDAP port. |
|||||||||||||||
Params: |
|
|||||||||||||||
Example: |
$port :=LDAPD_Port(1389) |
LDAPD_RequestApplication ( applicationNum:LI ) |
||||||||||||||||
Syntax: |
$iAPPLICATION := LDAPD_RequestApplication (0x0061) |
|||||||||||||||
Description: |
Determine the APPLICATION of an LDAP message |
|||||||||||||||
Warning: |
||||||||||||||||
Note: |
Used only in LDAPDu_RequestHandler when parsing an LDAP
Message. |
|||||||||||||||
Params: |
|
|||||||||||||||
Example: |
$tResultCodeDescription := LDAP_RequestApplication |
LDAPD_SearchFilter |
|||||||||||
Syntax: |
result := LDAPD_SearchFilter |
||||||||||
Description: |
The search filter and LDAP attributes requested by successful
parse
of incoming search request |
||||||||||
Warning: |
Only valid immediately after search request is
successfully parsed. |
||||||||||
Note: |
A typical search filter would be -
(|(givenname=col*)(sn=col*)(mail=col*)(cn=col*))
|
||||||||||
Params: |
|
||||||||||
Example: |
$tText := LDAPD_SearchFilter |
LDAPD_tResultErrorMessage |
|||||||||||
Syntax: |
tMessage := LDAPD_tResultErrorMessage |
||||||||||
Description: |
Error message generated in LDAP4D Directory methods. |
||||||||||
Warning: |
|||||||||||
Note: |
|
||||||||||
Params: |
|
||||||||||
Example: |
$tText := LDAPD_tResultErrorMessage |