To enable directory services for Linux
Install the following packages:
openldap-2.0 (runtime)
openldap-devel-2.0
The 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:
Edit the ASE ODBC data source template, odbc.ini.
Reinstall the data source using the unixODBC command line tool:
# odbcinst -i -s -f <dsn template file>
where dsn template file is the complete path to the ASE ODBC data source template file.
If you are directly linking to the ASE ODBC Driver, modify the odbc.ini file.
Following is an example of the odbc.ini data source template file:
[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