Configuring network connections for client products
52 Adaptive Server Enterprise
For a 64-bit LDAP driver, the format is:
[DIRECTORY]
ldap=libsybdldap64.dll
You can use either a 32-bit or a 64-bit LDAP driver on Windows x64.
When an LDAP server is specified in the libtcl.cfg file and the libtcl64.cfg file
(when applicable to your platform), the server information is accessible only
from the LDAP server. Adaptive Server ignores the interfaces file. Open Client
and Open Server applications that use the
-i option at start-up override the
libtcl.cfg file and use the interfaces file.
To use a directory service, you must:
1 Configure the libtcl.cfg file, and the libtcl64.cfg file (when applicable,) to
use directory services.
Use any standard ASCII text editor to:
• Remove the semicolon (;) comment markers from the beginning of
the LDAP URL lines in the libtcl.cfg file under the [DIRECTORY]
entry.
• Add the LDAP URL under the [DIRECTORY] entry. See the
Configuration Guide for supported LDAP URL values.
Warning! You must enter the LDAP URL on a single line.
Note On Windows x64, the .dll file is called libsybdldap64.dll.
2 Once you have edited the libtcl.cfg file, use
dsedit to add a server to the
directory service:
a From the Windows task-bar, select Start | Programs | Sybase |
Connectivity | Open Client Directory Service Editor.
b Select LDAP from the list of servers, and click OK.
c Click Add New Server Entry.
dEnter:
• The server name – this is required.
• HA server name – optional. This is the name of the high-
availability failover server, if you have one.
e Click Add New Network Transport.