Setting up LDAP for UNIX

In the <install_dir>/DC-15_0/connectivity/OCS-15_0/config directory, create a libtcl.cfg file and add the following lines under [DIRECTORY]:

; This code shows how to specify the different types 
; of drivers that will be used by Client-Library and 
; Server-Library applications. 
; 
; This is the sample for SUN Solaris platform. 
; 
[DRIVERS] 
;libtli.so=tcp unused             ; This is the non-threaded tli driver. 

;libtli_r.so=tcp unused           ; This is the threaded tli driver. 

[DIRECTORY]
ldap=libdldap.so 
ldap://<LDAP server location >

Then, set up your Sybase environment variables:

setenv SYBASE <release path> 
setenv SYBASE_OCS OCS-15_0 
setenv SYBASE_TCL_CFG <your libtcl.cfg pathname> 
setenv LD_LIBRARY_PATH 
<install_dir>/OCS_15_0/lib:$SYBASE/$SYBASE_OCS/lib3p 

setenv PATH <install_dir>/OCS_15_0/bin:$SYBASE:$PATH

Use <install_dir/DCO_15_0/connectivity/OCS-15_0/bin/dscp to add an entry for your server into the LDAP server the same way you would for an ASE server. Check the Adaptive Server Enterprise 15.0 Utility Guide for more information on using dscp.

To test the new setup, isql into the server without using the interfaces file.