Linux

StepsEnabling directory services for Linux

Install the following packages:

The Adaptive Server ODBC Driver attempts to load a file named libldap.so, but to create a symbolic link with this file, you must install the openldap-devel package. The openldap runtime package does not create the symbolic link.

If you are linking to the unixODBC Driver Manager:

  1. Edit the Adaptive Server ODBC datasource template, odbc.ini.

  2. Reinstall the datasource using the unixODBC command line tool:

    # odbcinst -i -s -f <dsn template file>
    

    where dsn template file is the complete path to the Adaptive Server ODBC datasource template file.

If you are directly linking to the Adaptive Server ODBC Driver, modify the odbc.ini file. For example:

[sampledsn] 
Description=Sybase ODBC Data Source
UserID=sa
Password= Driver=Adaptive
Server Enterprise Server=sampleserver
Port=4100
Database=pubs2
UseCursor=1
DSURL=ldap://SYBLDAP1:389/dc=sybase,dc=com??one?sybaseServername=MANGO