UNIX

StepsEnabling Kerberos for login authentication on UNIX

If you are linking to the UNIX ODBC Driver Manager:

  1. Open an existing datasource, or create a new datasource template.

  2. Add the following to the datasource template:

    Authentication= mitkerberos 
    (or cybersafekerberos) ServerPrincipal=<MANGO>
    to enable Kerberos Login Authentication.
    

    where: <MANGO> is the name of the principal server used to authenticate sign-ons.

  3. Reinstall the datasource using the odbcinst utility at the command line:

    odbcinst -i-s  -f ${datasourcetemplatefile}
    

If you are linking directly to the Adaptive Server ODBC Driver or the Sybase iAnywhere ODBC Driver Manager, modify the odbc.ini file directly.

Following is an example of how the odbc.ini datasource template file should look after you modify it:

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