The new OLDAP external component reference is currently being worked on. In the meantime, please refer to the example code. When right-clicking the OLDAP object variable, you can display the interface manager which will display all the objects methods and properties.
|
Constants for testing the most common result codes returned by some LDAP methods. |
||
|
Name |
Value |
Description |
|
0 |
operation was successful. |
|
|
1 |
an general error has occurred. To troubleshoot this type of error, check the server's error logs. |
|
|
2 |
client's request does not comply with the LDAP. |
|
|
3 |
time limit on a search operation has been exceeded. The time limit is specified in the search request. If you specify no time limit, the server will set one. |
|
|
4 |
maximum number of search results to return has been exceeded. This limit is specified in the search request. If you specify no size limit, the server will set one. |
|
|
5 |
returned after an LDAP compare operation is completed. The result indicates that the specified attribute value is not present in the specified entry. |
|
|
6 |
returned after an LDAP compare operation is completed. The result indicates that the specified attribute value is present in the specified entry. |
|
|
7 |
returned as the result of a bind operation. The server does not recognize or support the specified authentication method. |
|
|
8 |
a stronger method of authentication is required to perform the operation. |
|
|
10 |
server is referring the client to another LDAP server. Includes a list of LDAP URLs that identify another LDAP server. |
|
|
11 |
look-through limit on a search operation has been exceeded. |
|
|
12 |
specified control or matching rule is not supported by the server. |
|
|
13 |
confidentiality is required for the operation. |
|
|
14 |
used in multi-stage SASL bind operations. The server sends this result code back to the client to indicate that the authentication process has not yet completed. |
|
|
16 |
specified attribute does not exist in the entry. |
|
|
17 |
request specifies an undefined attribute type. |
|
|
18 |
an extensible match filter in a search request contained a matching rule that does not apply to the specified attribute type. |
|
|
19 |
a value in the request does not comply with certain constraints. |
|
|
20 |
request attempted to add an attribute type or value that already exists. |
|
|
21 |
request contains invalid syntax. |
|
|
32 |
server cannot find an entry specified in the request. |
|
|
33 |
alias is invalid. |
|
|
34 |
an invalid DN has been specified. |
|
|
35 |
specified entry is a leaf entry. |
|
|
36 |
a problem occurred when dereferencing an alias. |
|
|
48 |
type of credentials are not appropriate for the method of authentication used. |
|
|
49 |
credentials provided in the request are invalid. |
|
|
50 |
client has insufficient access to perform the operation. Check that the user you are authenticating as has the appropriate permissions. |
|
|
51 |
server is currently too busy to perform the requested operation. |
|
|
52 |
server is unavailable to perform the requested operation. |
|
|
53 |
server is unwilling to perform the requested operation. |
|
|
54 |
server was unable to perform the requested operation because of an internal loop. |
|
|
60 |
server did not receive a required server-side sorting control. |
|
|
61 |
search results exceeded the range specified by the requested offsets. |
|
|
64 |
request violates the structure of the DIT. |
|
|
65 |
request specifies a new entry or a change to an existing entry that does not comply with the server’s schema. |
|
|
66 |
requested operation is allowed only on entries that do not have child entries (leaf entries as opposed to branch entries). |
|
|
67 |
requested operation will affect the RDN of the entry. |
|
|
68 |
request is attempting to add an entry that already exists in the directory. |
|
|
69 |
request is attempting to modify an object class that should not be modified (for example, a structural object class). |
|
|
70 |
results of the request are too large. |
|
|
71 |
requested operation needs to be performed on multiple servers, where this operation is not permitted. |
|
|
80 |
an unknown error has occurred. |
|
|
81 |
cannot establish a connection with, or lost the connection to, the LDAP server. |
|
|
82 |
an error occurred in the LDAP client. |
|
|
83 |
LDAP client encountered an error when encoding the LDAP request to be sent to the server. |
|
|
84 |
LDAP client encountered an error when decoding the LDAP response received from the server. |
|
|
85 |
LDAP client timed out while waiting for a response from the server. |
|
|
86 |
an unknown authentication method was specified. |
|
|
87 |
an error occurred when specifying the search filter. |
|
|
88 |
user cancelled the LDAP operation. |
|
|
89 |
an invalid parameter was specified. |
|
|
90 |
no memory is available. |
|
|
91 |
LDAP client cannot establish a connection, or has lost the connection, with the LDAP server. |
|
|
92 |
LDAP client is attempting to use functionality that is not supported. |
|
|
93 |
a requested LDAP control was not found. |
|
|
94 |
no results were returned from the server. |
|
|
95 |
there are more results in the chain of results. |
|
|
96 |
LDAP client detected a loop, for example, when following referrals. |
|
|
97 |
the referral hop limit was exceeded. |
|
|
Option constants for use with $get_option() or $set_option() |
||
|
Name |
Value |
Description |
|
0 |
return basic information about the API and the specific implementation that is used. |
|
|
2 |
specify alternative rules for following aliases at the server |
|
|
3 |
specify the maximum number of entries that can be returned on a search operation. |
|
|
4 |
specify the number of seconds to wait for search results. |
|
|
8 |
specify whether the LDAP library automatically follows referrals that are returned by LDAP servers or not. |
|
|
9 |
specify whether the library should implicitly restart connections |
|
|
17 |
sets/gets the protocol version. |
|
|
18 |
sets/gets the server-side controls to be used for all operations. |
|
|
19 |
sets/gets the client-side controls to be used for all operations. |
|
|
21 |
gets LDAP API feature info |
|
|
48 |
sets/gets a space-separated list of hosts to be contacted by the library when trying to establish a connection. |
|
|
49 |
sets/gets the LDAP result code |
|
|
49 |
sets/gets the LDAP result code |
|
|
50 |
sets/gets a string containing the error string |
|
|
51 |
sets/gets a string containing the matched DN |
|
|
20481 |
sets/gets the debug level of the client library |
|
|
20482 |
sets/gets a timeout value for the synchronous API calls. |
|
|
20485 |
sets/gets the network timeout value |
|
|
20487 |
sets/gets an array containing the referral URIs |
|
|
|
n/a |
|
|
Option constants for use with $search_ext() or $search_ext_s() |
||
|
Name |
Value |
Description |
|
-1 |
use default scope |
|
|
0 |
A base search limits the search to the base object. The maximum number of objects returned is always one. This search is useful to verify the existence of an object for retrieving group membership. |
|
|
1 |
A one-level search is restricted to the immediate children of a base object, but excludes the base object itself. This setting can perform a targeted search for immediate child objects of a parent object. |
|
|
2 |
A subtree search (or a deep search) includes all child objects as well as the base object. You can request the LDAP provider to chase referrals to other LDAP directory services, including other directory domains or forests. |
|
|
Name |
Type |
Description |
|
(v2.0) |
Boolean |
if true, debug messages are output to a log file |
|
(v2.0) |
Boolean |
returns true if the last call to $init was successful (read-only) |
|
(v2.0) |
Boolean |
specifies preference to use utf8 (will use system os 8bit characters if turned off) |
|
Syntax: OLdapObjRef.$add_att(Collection,Name,Value) Version: 2.0 adds an attribute and its value to an attribute collection. See also $set_att(), $get_att() and $get_att_array_item. |
|
|
Parameter |
Description |
|
Collection (char) |
Specifies the collection. |
|
Name (char) |
Specifies the attribute name. |
|
Value (char) |
Specifies the attribute value. |
|
returns (char) |
The updated collection string. |
|
Syntax: OLdapObjRef.$add_ext_s(DN,Attributes,ServerControls,ClientControls) Version: 2.0 synchronously adds an entry to the directory using LDAP client or server controls. See also $delete_ext_s(), $modify_ext_s(), $add_att(). |
|
|
Parameter |
Description |
|
DN (char) |
Specifies the distinguished name of the entry to add, for example "cn=kim". |
|
Attributes (char) |
A collection of attributes and values to add with the entry. See $add_att(). |
|
ServerControls (char) |
Reference to server controls. Specify an empty string if no server controls. |
|
ClientControls (char) |
Reference to client controls. Specify an empty string if no client controls. |
|
returns (int) |
See LDAP Result Codes. |
|
Syntax: OLdapObjRef.$available() Version: 2.0 Tests if the low level LDAP functions are available. See also $init(). |
|
|
Parameter |
Description |
|
returns |
boolean state indicating whether the LDAP functions are available. If this returns kFalse then please refer to the installation instructions. |
|
Syntax: OLdapObjRef.$compare_s(DN,Attributes,Value) Version: 2.0 synchronously determines whether a specified entry contains a specified attribute value. |
|
|
Parameter |
Description |
|
DN (char) |
Specifies the distinguished name of the entry to compare. |
|
Attributes (char) |
Specifies the name of the attribute to compare. |
|
Value (char) |
Specifies the string value of the attribute to compare. |
|
returns (int) |
0 (True), 1(False),2 (no such attribute), 3(No such object). For other values see LDAP Result Codes. |
|
Syntax: OLdapObjRef.$count_entries(Search Reference) Version: 2.0 Counts the number of messages in the search. See also $result() and $search_ext_s. |
|
|
Parameter |
Description |
|
Search Reference (char) |
Reference to the result chain as returned by $result or by a synchronous search function. |
|
returns (int) |
the number of LDAP messages that are of type LDAP_RES_SEARCH_ENTRY. |
|
Syntax: OLdapObjRef.$count_messages(Search Reference) Version: 2.0 Counts the number of messages in the search. See also $result and $search_ext_s. |
|
|
Parameter |
Description |
|
Search Reference (char) |
Reference to the result chain as returned by $result or by a synchronous search function. |
|
returns (int) |
the number of LDAP messages that are of any type. |
|
Syntax: OLdapObjRef.$count_references(Search Reference) Version: 2.0 Counts the number of references in the search. See also $result and $search_ext_s. |
|
|
Parameter |
Description |
|
Search Reference (char) |
Reference to the result chain as returned by $result or by a synchronous search function. |
|
returns (int) |
the number of LDAP messages that are of type LDAP_RES_SEARCH_REFERENCE. |
|
$create_persistent_search_cont() Syntax: OLdapObjRef.$create_persistent_search_cont(Type,ChangesOnly,ReturnEntryChanges,IsCritical,Control) Version: 2.0 Creates and encodes a persistent search control. The control can then be used in $search_ext. See also $search_ext and $free. |
|
|
Parameter |
Description |
|
Type (int) |
Integer specifying changes (can be or'd). ADD(Value 1), DELETE (2), MODIFY (4), MODDN(8), ANY(15). |
|
ChangesOnly (bool) |
If true, the initial search is only used to establish a result set on the server. No results are returned from this initial search. |
|
ReturnEntryChanges (bool) |
If true, a entry change notification control is included with each entry. If 0, entry change notification controls are not included with the entries returned from the server. |
|
IsCritical (bool) |
If true, the control is critical to the search operation. If the server does not support persistent searches, the server will return the error kLDAP_UNAVAILABLE_CRITICAL_EXTENSION. If false, the control is not critical to the search operation. Even if the server does not support persistent searches, the search operation is still performed. |
|
Control (char) |
Returned reference to the control which is created. When you are finished with this control, you must free the reference. |
|
returns |
see LDAP Result Codes. |
|
Syntax: OLdapObjRef.$delete_ext_s(DN[,ServerControls, UserControls]) Version: 2.0 Synchronously deletes the specified entry using LDAP client or server controls. See also $add_ext_s() and $modify_ext_s(). |
|
|
Parameter |
Description |
|
DN (int) |
Specifies the distinguished name of the entry to delete. |
|
ServerControls (char) |
Reference to the server controls. May be empty if no server controls. |
|
UserControls (char) |
Reference to the user controls. May be empty if no user controls. |
|
returns |
see LDAP Result Codes. |
|
Syntax: OLdapObjRef.$first_attribute(Reference,BerElement Reference) Version: 2.0 This returns the name of the first attribute in an entry. See also $next_attribute. |
|
|
Parameter |
Description |
|
Reference (char) |
Reference to the entry whose attributes are being read. |
|
BerElement Reference (char) |
Reference to the BerElement. Can be used in further $next_attribute calls. This reference must be freed by using $free. |
|
returns (char) |
the name of the first attribute in an entry. |
|
Syntax: OLdapObjRef.$first_entry(Search reference) Version: 2.0 This returns the first entry of message type LDAP_RES_SEARCH_ENTRY from a search result chain. See also $next_entry(). |
|
|
Parameter |
Description |
|
Search reference (char) |
Reference to the result chain as returned by $result or by a synchronous search function. |
|
returns (char) |
character reference to the next entry in the chain or empty if no more entries or failure. |
|
Syntax: OLdapObjRef.$first_message(Reference) Version: 2.0 This returns the first entry of message type LDAP_RES_SEARCH_ENTRY from a search result chain. See also $next_message(). |
|
|
Parameter |
Description |
|
Reference (char) |
Reference to the result chain as returned by $result() or by a synchronous search function. |
|
returns (char) |
a character reference to the first message in the chain, or empty if no more messages or failure. This may be of type LDAP_RES_SEARCH_ENTRY, LDAP_RES_SEARCH_RESULT or LDAP_RES_SEARCH_REFERENCE. |
|
Syntax: OLdapObjRef.$free(Reference) Version: 2.0 Free a Ber, Control or Search reference. This must be called after the reference is no longer required. |
|
|
Parameter |
Description |
|
Reference (char) |
The reference to release. |
|
No return |
|
|
Syntax: OLdapObjRef.$get_att(Collection,Name) Version: 2.0 Returns the value of the attribute from an attribute collection. Attribute collections are used for the attribute parameters in the $add_ext_s() and $modify_ext_s() functions. See also $add_ext_s(), $modify_ext_s(), $set_att(), $add_att(), $get_att_array_item(). |
|
|
Parameter |
Description |
|
Collection (char) |
Specifies the collection. |
|
Name (char) |
Specifies the attribute name. |
|
returns |
The attribute's value. |
|
Syntax: OLdapObjRef.$get_att_array_item(Collection,Name,Index) Version: 2.0 Returns the value of the nth attribute from an attribute collection. It is possible for a collection to contain more than one value for the same attribute. When this is the case, you use this command to retrieve the individual values of the same attribute. If the index is out of range, an empty value is returned. Attribute collections are used for the attribute parameters in the $add_ext_s() and $modify_ext_s() functions. See also $add_ext_s(), $modify_ext_s(), $set_att(), $get_att(), $add_att(). |
|
|
Parameter |
Description |
|
Collection (char) |
Specifies the collection. |
|
Name (char) |
Specifies the name. |
|
Index (int) |
Specifies the index (from 1). |
|
returns (char) |
the value of the nth attribute |
|
Syntax: OLdapObjRef.$get_dn(Reference) Version: 2.0 Obtains the distinguished name of an entry from a search result chain. See also $first_entry() and $next_entry(). |
|
|
Parameter |
Description |
|
Reference (char) |
Reference to the chain as returned by $first_entry() or $next_entry(). |
|
returns |
name of the entry, or empty if failure. |
|
Syntax: OLdapObjRef.$get_option(Option) Version: 2.0 Gets the value of the session-wide specified parameter. See also $set_option(), LDAP Options. |
|
|
Parameter |
Description |
|
Option (int) |
Option which may be one of the kLDAP_OPT... constants. |
|
Returns (char or int) |
Character or Integer (depending on the option) specifying the current value. |
|
Syntax: OLdapObjRef.$get_values(Entry Reference,Attribute) Version: 2.0 Obtains the string value of a specified attribute from an entry. See also $get_values_len(). |
|
|
Parameter |
Description |
|
Entry Reference (char) |
Reference to the message chain as returned by $first_entry() or $next_entry(). |
|
Attribute (char) |
The attribute as returned from $first_attribute(), $next_attribute() or the name of an attribute. |
|
returns (char) |
a comma-separated list. For binary data use $get_values_len(). |
|
Syntax: OLdapObjRef.$get_values_len(Entry Reference,Attribute) Version: 2.0 Obtains the binary value of a specified attribute from an entry. See also $get_values(). |
|
|
Parameter |
Description |
|
Entry Reference (char) |
Reference to the message chain as returned by $first_entry() or $next_entry(). |
|
Attribute (char) |
The attribute as returned from $first_attribute(), $next_attribute() or the name of an attribute. |
|
returns (bin) |
binary value. |
|
Syntax: OLdapObjRef.$init(Host,Port) Version: 2.0 Opens the specified port on the host and returns a character string indicating the LDAP reference (empty on failure). You must assign the property $use_utf8 with the appropriate value prior to calling this command. See also $use_utf8, $available(), $unbind_s(). |
|
|
Parameter |
Description |
|
Host (char) |
Specifies the host. |
|
Port (int) |
Specifies the port. |
|
returns (char) |
a character reference to the LDAP connection. |
|
Syntax: OLdapObjRef.$modify_ext_s(DN,Mods,ServerControls,ClientControls) Version: 2.0 Synchronously modifies the specified attributes of an entry on an LDAP server, using LDAP client or server controls. See also $add_ext_s(), $delete_ext_s(), $add_att(). |
|
|
Parameter |
Description |
|
DN (char) |
Specifies the distinguished name of the entry to modify, for example "cn=kim". |
|
Mods (char) |
Collection of attributes and values. |
|
ServerControls (char) |
Reference to server controls. Specify an empty string if no server controls. |
|
ClientControls (char) |
Reference to client controls. Specify an empty string if no client controls. |
|
returns |
See LDAP Result Codes. |
|
Syntax: OLdapObjRef.$msgid(Message Reference) Version: 2.0 Obtains the ID of the message. |
|
|
Parameter |
Description |
|
Message Reference (char) |
Reference to the message. |
|
returns |
The message ID or -1 if failure. |
|
Syntax: OLdapObjRef.$msgtype(Message Reference) Version: 2.0 Obtains the type of the message. |
|
|
Parameter |
Description |
|
Message Reference (char) |
Reference to the message. |
|
returns |
The message type or -1 if failure. |
|
Syntax: OLdapObjRef.$next_attribute(Reference,BerElement Reference) Version: 2.0 Returns the name of the next attribute in an entry. See also $first_attribute(). |
|
|
Parameter |
Description |
|
Reference (char) |
Reference to the entry whose attributes are being read. |
|
BerElement Reference (char) |
Reference to the BerElement. Can be used in further $next_attribute() calls. This reference must be freed by calling $free(). |
|
returns |
the name of the next attribute in an entry, or empty if no more attributes. |
|
Syntax: OLdapObjRef.$next_entry(Reference) Version: 2.0 This returns the next entry of message type, LDAP_RES_SEARCH_ENTRY from a search result chain. See also $first_entry(). |
|
|
Parameter |
Description |
|
Reference (char) |
Reference to the chain as returned by $first_entry(). |
|
returns |
character reference to the next entry in the chain or empty if no more entries or failure. |
|
Syntax: OLdapObjRef.$next_message(Message Reference) Version: 2.0 This returns the next message in the result chain. See also $first_message(). |
|
|
Parameter |
Description |
|
Reference (char) |
Reference to the message chain as returned by $first_message(). |
|
returns |
a character reference to the next message in the chain or empty if no more messages or failure. This may be of type LDAP_RES_SEARCH_ENTRY, LDAP_RES_SEARCH_RESULT or LDAP_RES_SEARCH_REFERENCE. |
|
Syntax: OLdapObjRef.$parse_reference(Message,Referral,ServerControl,FreeRes) Version: 2.0 Extracts URLs and controls from a Message of type LDAP_RES_SEARCH_REFERENCE. See also $first_message(). |
|
|
Parameter |
Description |
|
Message (char) |
Specifies the message reference. |
|
Referral (char) |
Returned comma-separated string containing alternative LDAP server URLs. |
|
ServerControls (char) |
Returned server control references. You must free this reference. |
|
FreeRes (boolean) |
Boolean specifying whether you wish to release the resources. If you specify kFalse then you must free the Message. |
|
returns |
|
|
Syntax: OLdapObjRef.$parse_result(Message, ErrorCode, MatchString, ErrorMsg, Referral, ServerControl, FreeRes) Version: 2.0 Extracts URLs and controls from a Message of type LDAP_RES_SEARCH_REFERENCE. |
|
|
Parameter |
Description |
|
Message (char) |
Specifies the message reference. |
|
Error code (int) |
Returned error code of last LDAP operation. |
|
MatchString (char) |
Returned character string specifying how much of the name in the request was recognised. |
|
ErrorMsg (char) |
Returned character string of error message associated with error code. |
|
Referral (char) |
Returned comma-separated string containing alternative LDAP server URLs. |
|
ServerControls (char) |
Returned server control references. You must free this reference. |
|
FreeRes (boolean) |
Boolean specifying whether you wish to release the resources. If you specify kFalse then you must free the Message. |
|
returns |
|
|
Syntax: OLdapObjRef.$result(MsgId,All[,Timeout]) Version: 2.0 Obtains results from a previous asynchronously initiated operation.. See also $count_entries(), $count_references(), $count_messages() |
|
|
Parameter |
Description |
|
MsgId (char) |
Specifies the message ID returned. Can be LDAP_RES_UNSOLICITED or LDAP_RES_ANY. |
|
All (char) |
Specifies how many messages to be retrieved in a single call to LDAP RESULT. Can be a number or "LDAP_MSG_ONE", "LDAP_MSG_ALL" or "LDAP_MSG_RECEIVED". |
|
Timeout (int) |
Specifies how long (in seconds) to wait for the results to be returned. |
|
returns |
a character reference to the results of the search. If no results are returned this may be 0 (time out) or -1 ( error ). Free this reference when you are done with it. |
|
Syntax: OLdapObjRef.$search_ext(Base, Scope [,Filter, Attrs, ServerControls, UserControls, AttrsOnly, Timeout]) Version: 2.0 Asynchronously searches the directory using LDAP client or server controls. See also $search_ext_s() |
|
|
Parameter |
Description |
|
Base (char) |
Specifies the distinguished name of the entry from which to start the search. |
|
Scope (char) |
Specifies the scope of the search and can be kLDAP_SCOPE_BASE, kLDAP_SCOPE_ONELEVEL or kLDAP_SCOPE_SUBTREE. |
|
Filter (char) |
Filter string if none is specified then the default filter ("objectclass=*") is used. |
|
ServerControls (char) |
Reference to server controls, if any. |
|
UserControls (char) |
Reference to user controls, if any. |
|
Attrs (char) |
Comma-separated list specifies which attributes to return. |
|
AttrsOnly (char) |
Specifies whether to return both attributes & values (default) or only attributes. |
|
Timeout (int) |
Specifies the time out in seconds. Default is 10 seconds. |
|
Returns |
-1 if failure otherwise the message id of the operation. |
|
Syntax: OLdapObjRef.$search_ext_s(Base, Scope [,Filter, Attrs, ServerControls, UserControls, AttrsOnly, Timeout]) Version: 2.0 Synchronously searches the directory using LDAP client or server controls. See also $search_ext(), $count_entries(), $count_messages(), $count_references(). |
|
|
Parameter |
Description |
|
Base (char) |
Specifies the distinguished name of the entry from which to start the search. |
|
Scope (char) |
Specifies the scope of the search and can be kLDAP_SCOPE_BASE, kLDAP_SCOPE_ONELEVEL or kLDAP_SCOPE_SUBTREE. |
|
Filter (char) |
Filter string if none is specified then the default filter ("objectclass=*") is used. |
|
ServerControls (char) |
Reference to server controls, if any. |
|
UserControls (char) |
Reference to user controls, if any. |
|
Attrs (char) |
Comma-separated list specifies which attributes to return. |
|
AttrsOnly (char) |
Specifies whether to return both attributes & values (default) or only attributes. |
|
Timeout (int) |
Specifies the time out in seconds. Default is 10 seconds. |
|
Returns |
-1 if failure otherwise the message id of the operation. |
|
Syntax: OLdapObjRef.$set_att(Collection,Name,Value) Version: 2.0 Sets the value of an existing attribute in the attribute collection. Attribute collections are used for the attribute parameters in the $add_ext_s() and $modify_ext_s() functions. See also $add_ext_s(), $modify_ext_s(), $add_att(), $get_att(), $get_att_array_item(). |
|
|
Parameter |
Description |
|
Collection (char) |
The collection of attributes. |
|
Name (char) |
Name of the attribute. |
|
Value (char) |
The value for the attribute. |
|
returns |
The updated collection is returned. |
|
Syntax: OLdapObjRef.$set_option(Option,Value) Version: 2.0 Sets the value of the session-wide parameters. See also $get_option(). |
|
|
Parameter |
Description |
|
Option (int) |
One of the kLDAP_OPT... constants. |
|
Value (char/int) |
The new value. |
|
returns |
|
|
Syntax: OLdapObjRef.$simple_bind_s([LoginDN,Password]) Version: 2.0 Synchronously authenticates the specified client to the LDAP server using a distinguished name and password. See also $init(), $unbind_s(). |
|
|
Parameter |
Description |
|
LoginDN (char) |
Distinguished name of the entry who is authenticating. For an anonymous authentication, do not specify this parameter. |
|
Password (char) |
Client's password. For anonymous authentication, do not specify this parameter. |
|
returns |
|
|
Syntax: OLdapObjRef.$unbind_s() Version: 2.0 Unbinds from the directory, closes the connection. See also $init(), $simple_bind_s(). |
|
|
Parameter |
Description |
|
returns |
|