Password encryption on UNIX

To link to the unixODBC Driver Manager, edit the datasource template and 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 or the Sybase iAnywhere ODBC Driver Manager, modify the odbc.ini file.

This is an example of an odbc.ini datasource template file:

[sampledsn] 
Description=Sybase ODBC Data Source
UserID=sa
Password=
Driver=Adaptive Server Enterprise
Server=sampleserver
Port=4100
Database=pubs2
UseCursor=1
EncryptPassword=1