Search: 
Available in: SSH | SSL
LDAPS Component [IP*Works! SSL V8]

Properties   Methods   Events   Configuration Settings  

The LDAPS component is used to communicate with LDAP Directory Servers using the LDAP (Lightweight Directory Access) protocol.

NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.

Remarks

The LDAPS component is the SSL-enabled equivalent of the IP*Works! LDAP component. The main difference is the introduction of a set of new configuration settings, properties and events that deal with SSL security. The SSLProvider configuration setting chooses a security provider subsystem. The SSLEnabledProtocols and SSLCipherStrength configuration settings determine which protocols are enabled and at what security level. The property is used to select a client certificate if the server is requesting client authentication. The SSLSecurityFlags configuration setting, together with the event allow you to check the server identity and other security attributes. Finally, the event provides information about the SSL handshake.

The LDAPS component implements a standard LDAP client as specified in RFC 1777, 2251, and other LDAP RFCs. Support for both LDAP v2 and v3 is provided.

The first step in using the component is specifying the , a (Distinguished Name) to bind as, and optionally a . Then you can call one or more of the component methods to act upon the server. Server responses are normally received through the event. The only exception are search requests which result in one or more events, followed by a final event.

Attributes are set and returned through the properties . Other command arguments are specified through other properties. These are specified in detail in each method.

Search filters are to be specified as string arguments to the method. The format must be a standard LDAP search string as specified in RFC 1558. Other search attributes are set in properties such as , , , , and .

The component operates synchronously by default (waits for a response before returning control to the caller), however, the component may also operate asynchronously (return control immediately), by setting to 0. Please refer to the property for more information.

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for further details.

AcceptDataEnables or disables data reception from the server.
AttributesAttributes for the current entry.
ConnectedShows whether the component is connected.
DeleteOldRDNControls whether the old RDN (Relative Distinguished Name) should be deleted.
DNThe Distinguished Name used as the base for LDAP operations.
FirewallA set of properties related to firewall access.
IdleThe current status of the component.
LDAPVersionThe version of LDAP used.
LocalHostThe name of the local host or user-assigned IP interface through which connections are initiated or accepted.
MessageIdThe message id for the next LDAP request.
PageSizeThe maximum number of results per page for the Search method.
PasswordThe password used to authenticate to the LDAP server.
ReferencesCollection of References returned from the server.
ResultCodeThe result code returned in the last server response.
ResultDescriptionThe descriptive text returned in the last server response (if any).
ResultDNThe Distinguished Name returned in the last server response (if any).
SearchDerefAliasesControls alias dereferencing during searching.
SearchReturnValuesControls whether the search operation returns values of attributes, or only types.
SearchScopeControls the scope of LDAP search operations.
SearchSizeLimitMaximum number of entries that can be returned by the next search operation.
SearchTimeLimitA time limit for the next search operation (in seconds).
ServerNameThe name or address of the LDAP server.
ServerPortThe server port for the LDAP connection (default is 389).
SortAttributesA string of attribute names to sort on with optional relative matching rules.
SSLAcceptServerCertInstructs the component to unconditionally accept the server certificate that matches the supplied certificate.
SSLCertThe certificate to be used during ssl negotiation.
SSLServerCertThe server certificate for the last established connection.
SSLStartModeDetermines how the component starts the SSL negotiation.
TimeoutA timeout for the component.

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for further details.

AbandonAsk the server to abandon a request.
AddAdd an entry specified by DN to the directory server using the type and value attributes defined in Attributes properties .
AttrReturns the value of the specified ldap attribute.
BindConnect and bind to the directory server.
CompareCompare attributes and values with those of the entry specified by DN .
ConfigSets or retrieves a configuration setting.
CopyToDNPerforms an LDAP 'modify' operation on the entry specified by DN by duplicating it.
DeleteDelete an entry specified by DN from the directory server.
DoEventsProcesses events from the internal message queue.
ExtendedRequestPerform an LDAP V3 Extended Operation.
InterruptInterrupt the current method.
ModifyPerform an LDAP 'modify' operation on the entry specified by DN .
ModifyRDNPerform an LDAP 'modify RDN' operation an entry specified by DN .
MoveToDNPerforms an LDAP 'modify' operation on the entry specified by DN by changing its superior.
SearchSearch the directory server using the base object specified in DN and the search filter SearchFilter .
UnbindUnbind from the directory server.

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.

ConnectedFired immediately after a connection completes (or fails).
ConnectionStatusFired to indicate changes in connection state.
DisconnectedFired when a connection is closed.
ErrorInformation about errors during data delivery.
ExtendedResponseFired for LDAP V3 Extended Responses.
ResultFired for every server response, except search responses.
SearchCompleteFired upon completion of a search operation.
SearchPageFired for every page returned from a search operation.
SearchResultFired for every entry returned from a search operation.
SearchResultReferenceFired for every result reference returned from a search operation.
SSLServerAuthenticationFired after the server presents its certificate to the client.
SSLStatusShows the progress of the secure connection.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.

MaxAttributesInstructs component to save the amount of attributes specified that are returned by the server.
MaxLineLengthThe maximum amount of data to accumulate when no EOL is found.
FirewallListenerIf true, the component binds to a SOCKS firewall as a server (IPPort only).
CloseStreamAfterTransferIf true, the component will close the upload or download stream after the transfer.
TcpNoDelayWhether or not to delay when sending packets
AcceptAnyServerCertIf set the component will accept any certificate presented by the server
SSLProviderThe name of the security provider to use.
SSLCipherStrengthThe minimum cipher strength used for bulk encryption.
SSLEnabledProtocolsUsed to enable/disable the supported security protocols.
SSLSecurityFlagsFlags that control certificate verification
ReuseSSLSessionDetermines if the SSL session is reused.
OpenSSLCipherListA string that controls the ciphers to be used by SSL.
OpenSSLPrngSeedDataThe data to seed the pseudo random number generator(PRNG).
OpenSSLCAFileName of the file containing the list of CA's trusted by your application.
OpenSSLCADirThe path to a directory containing CA certificates.
InBufferSizeThe size in bytes of the incoming queue of the socket.
OutBufferSizeThe size in bytes of the outgoing queue of the socket.
AbsoluteTimeoutDetermines whether timeouts are inactivity timeouts or absolute timeouts.
FirewallDataUsed to send extra data to the firewall.
CodePageThe system code page used for Unicode to Multibyte translations (Windows/COM only).

| About | Privacy Policy | Terms of Use |
© Copyright 2008 /n software inc.