Performance affected by SSL  Chapter 4: Executing Remote Procedure Calls

Chapter 3: Reference Topics for Oracle

Lightweight Directory Access Protocol (LDAP)

Lightweight Directory Access Protocol (LPDAP) is the Internet directory protocol. LDAP is a protocol for accessing and managing directory services. The LDAP support replaces the interfaces file. This means that the connection information normally stored in an interfaces file can now be stored in an LDAP server.

You must have an LDAP server running. Also, you need to verify that the port number of the agent on your server machine is added to the LDAP server.

In the $SYBASE/$SYBASE_OCS/config directory, create a libtcl.cfg file and add the following lines under [DIRECTORY]:

;       shows how to specify the different types of drivers which 
;       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-12_5 
setenv SYBASE_ASE ASE-12_5 
setenv SYBASE_TCL_CFG <your libtcl.cfg pathname> 
setenv LD_LIBRARY_PATH 
$SYBASE/$SYBASE_OCS/lib:$SYBASE/$SYBASE_ASE/lib:$SYBASE/$SYBASE_OCS/lib3p 

setenv PATH $SYBASE/$SYBASE_OCS/bin:$SYBASE/$SYBASE_ASE/bin:$PATH

To add your server entry to the LDAP server use the $SYBASE/$SYBASE_OCS/bin/dscp. Add an entry for your server into the LDAP server, the same way you would for an Adaptive Server Enterprise server. Check the Adaptive Server Enterprise 12.5 Utility Guide for more information on using dscp.

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





Copyright © 2005. Sybase Inc. All rights reserved. Chapter 4: Executing Remote Procedure Calls

View this book as PDF