In the section titled, "Lightweight Directory Access Protocol (LDAP)," add the following information for Windows.
To set up LDAP for Windows
In the %SYBASE%\%SYBASE_OCS%\ini directory, create a libtcl.cfg file and add the following lines under [DIRECTORY]:
; This is the sample Net-Library configuration file which ; 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 NT platforms. ;
[DRIVERS]
NLWNSCK=TCP Sockets NLWNSCK=TCP/IP Sockets
[NT_DIRECTORY]
ldap=libdldap ldap://
[SECURITY]
;NTLM=LIBSMSSP
[FILTERS]
;SSL=LIBFSSL
WARNING! The LDAP URL under the [NT_DIRECTORY] must be on a single line.
Set the following Sybase environment variables:
set SYBASE=d:\as125_IR set SYBASE_TCL_CFG=d:\as125_IR\OCS-12_5\ini\libtcl.cfg set SYBASE_OCS=OCS-12_5 set PATH=%SYBASE%;%SYBASE%\%SYBASE_OCS%\dll; %SYBASE%\%SYBASE_OCS\lib3p;%SYBASE%\ %SYBASE_OCS%\lib; %SYBASE%\%SYBASE_OCS%\ini;%SYBASE\%SYBASE_OCS% \bin;%PATH%
Add your server entry to the LDAP server: %SYBASE%\%SYBASE_OCS%\bin\dsedit
Add an entry for your server into the LDAP server, following the same steps that you would for an Adaptive Server Enterprise server. Refer to the Adaptive Server Enterprise Utility Guide for more information on using dsedit.
To test the new setup, isql into the server without using the sql.ini file.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |