skip to main content
Using the driver : Using LDAP
  

Try DataDirect Drivers Now

Using LDAP

LDAP (Lightweight Directory Access Protocol) is a directory information service that allows you to centrally store information and share it across an IP network. In an LDAP service, information is stored in objects called entries, which can contain a variety of data—including connection information. LDAP entries are often used to store connection information because data storage is centralized, thereby simplifying maintenance when changes occur. The driver supports retrieving basic connection information from an LDAP entry, including:
*Oracle server name and portOracle System Identifier (SID) or Oracle service name
*Server process type (shared or dedicated)
*Failover instructions
*Client load balancing instructions
*SSL encryption instructions
To use the driver with LDAP, configure the following connection properties:
*LDAPDistinguishedName: Specify the fully qualified path of names in the LDAP directory information tree for the entry containing your connection information. For example:
cn=DB122,cn=OracleContext,dc=america,dc=yourcompany,dc=com
*ServerName: Specify the name or IP address of the LDAP directory server.
*PortNumber: Specify the port number listener of the LDAP directory server.
When attempting to connect, the driver retrieves connection information from the orclNetDescString attribute in the LDAP entry specified by the LDAPDistinguishedName property. The following is an example of an orclNetDescString value:
(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = host_name)(PORT =1521))) (CONNECT_DATA = (SID = ORCL)))