Enabling Kerberos for Login Authentication on UNIX

Enable Kerberos login authentication using the unixODBC Driver Manager or the Sybase iAnywhere Driver Manager.

If you are linking to the unixODBC Driver Manager:
  1. Open an existing datasource, or create a new datasource template.
  2. Add these lines 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.

This 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