Enabling LDAP directory services
74 Adaptive Server Enterprise
You should edit both the libtcl.cfg and the libtcl64.cfg files to ensure
compatibility between 32- and 64-bit applications.
The default libtcl.cfg file is located in $SYBASE/$SYBASE_OCS/config.
If LDAP is specified in the libtcl.cfg file, the interfaces file is not used.
Note Open Client/Open Server applications that use the -I option at start-up
override the libtcl.cfg file and use the interfaces file.
In its simplest form, the libtcl.cfg file is in this format:
[DIRECTORY]
ldap=libsybdldap.dll ldapurl
where the ldapurl is defined as:
ldap://host:port/ditbase
The following LDAP entry, using these same attributes, is an anonymous
connection and only works only if the LDAP server allows read-only access.
ldap=libsybdldap.dll ldap://seashore/d=sybase,dc=com
You can specify a user name and password in the libtcl.cfg file as extensions to
the LDAP URL to enable password authentication at connection time.
Enabling LDAP directory services
To use a directory service, you must:
1 Configure the LDAP server according to the vendor-supplied
documentation.
2 Add the location of the LDAP libraries to the Unix load library path
environment variable for your platform.
3 Configure the libtcl.cfg file 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.