Table of Contents |
LDAP4D Directory at A Dog And His Boy |
LDAP4D Directory - Initialization
|
|
About this section... |
This section describes the methods used to . |
LDAPD_DeclareVars |
|
Syntax: |
LDAPD_DeclareVars |
Description: |
Initialize process variables used internally by LDAP 4D Directory. |
Warning: |
Calling this method will set the values of process variables, the scope of the "clearing" is only within the process in which it is invoked. |
Params: |
None |
Example: |
LDAPD_DeclareVars |
LDAPD_RequireBind |
||||||||||||||||
Syntax: |
LDAPD_RequireBind (
{requireBind:Boolean} ) |
|||||||||||||||
Description: |
Get/Set whether a bind is required. |
|||||||||||||||
Warning: |
None |
|||||||||||||||
Params: |
|
|||||||||||||||
Example: |
If (LDAPD_RequireBind) |
LDAPD_BindArraysSet |
||||||||||||||||||||||||||
Syntax: |
LDAPD_BindArraysSet ( userNames:Pointer; passwords:Pointer; groupNames:Pointer ) | |||||||||||||||||||||||||
Description: |
Set the username, password, |
|||||||||||||||||||||||||
Warning: |
All three arrays must be of the same size. |
|||||||||||||||||||||||||
Params: |
|
|||||||||||||||||||||||||
Example: |
$result:=LDAPD_BindArraysSet(->atUsernames;->atPasswords;->atGroups) |
LDAPD_Plugin |
||||||||||||||||
Syntax: |
LDAPD_Plugin ( {pluginName:T} ) | |||||||||||||||
Description: |
Declare which plugin is being used for TCP/IP communication. |
|||||||||||||||
Warning: |
Only valid value is "NTK". |
|||||||||||||||
Params: |
|
|||||||||||||||
Example: |
$pluginName:=LDAPD_Plugin |
LDAPD_Timeout |
||||||||||||||||
Syntax: |
LDAPD_Timeout ( {timeoutInSeconds:LI} ) | |||||||||||||||
Description: |
Get/Set the number of seconds that LDAP4D Directory waits on a port. |
|||||||||||||||
Warning: |
|
|||||||||||||||
Params: |
|
|||||||||||||||
Example: |
LDAPD_Timeout(30) |
LDAPD_SearchBase |
||||||||||||||||
Syntax: |
LDAPD_SearchBase ( {searchbase:T} ) | |||||||||||||||
Description: |
Get/SetNumber the searchbase that will be required for
searches on this directory. |
|||||||||||||||
Warning: |
|
|||||||||||||||
Params: |
|
|||||||||||||||
Example: |
$tSearchBase:= LDAPD_SearchBase |
LDAPD_ResumeHandlers |
|||||||||||
Syntax: |
LDAPD_ResumeHandlers | ||||||||||
Description: |
Wake up running handlers to allow them to proceed or quit. |
||||||||||
Warning: |
|
||||||||||
Params: |
|
||||||||||
Example: |
LDAPD_ResumeHandlers |
LDAPD_EndDirectoryProcess |
|||||||||||
Syntax: |
LDAPD_EndDirectoryProcess | ||||||||||
Description: |
A wrapper for LDAPD_QuitDirectory (True) so that it can be called from a menu. |
||||||||||
Warning: |
|
||||||||||
Params: |
|
||||||||||
Example: |
LDAPD_End DirectoryProcess |
LDAPD_QuitDirectory |
||||||||||||||||
Syntax: |
LDAPD_QuitDirectory ( {quitDirectory:Boolean} ) | |||||||||||||||
Description: |
Get/Set status of directory. This process variable is checked in handlers to see if the processes should terminate. |
|||||||||||||||
Warning: |
|
|||||||||||||||
Params: |
|
|||||||||||||||
Example: |
$flag:=LDAPD_QuitDirectory(True) |