To use Sybase LDAP features, you must install and configure an LDAP server according to the vendor-supplied instructions. Sybase does not provide the LDAP server. Sybase provides Netscape LDAP SDK client libraries and Sybase Open Client and Open Server includes an LDAP driver, located in %SYBASE%\%SYBASE_OCS%\dll.
The Netscape LDAP SDK library is located in %SYBASE%\%SYBASE_OCS%\lib3p and the environment variable is PATH.
When the LDAP driver connects to the LDAP server, the server establishes the connection based on two authentication methods—anonymous access, and user name and password authentication.
Anonymous access – does not require any authentication information; therefore, you do not have to set any properties. Anonymous access is typically used for read-only privileges.
User name and password – can be specified in the libtcl.cfg file (libtcl64.cfg file for 64-bit platforms) as an extension to the LDAP URL (see “The libtcl.cfg and libtcl64.cfg files”) or set with property calls to Client-Library. The user name and password that are passed to the LDAP server, using ctlib, are separate and distinct from the user name and password used to log in to Adaptive Server. Sybase strongly recommends that you use user name and password authentication.