MIT Kerberos on DB-Library

The MIT Kerberos security mechanism is now available on DB-Library, providing network and mutual authentication services. This feature allows older Sybase applications to use Kerberos authentication services, with less need for modification and recompilation.

The following DB-Library macros were added to enable Kerberos support:

NoteDB-Library only supports network authentication and mutual authentication services in the Kerberos security mechanism.

StepsTo install MIT-Kerberos on DB-Library

The following steps provide basic information on installing MIT Kerberos on DB-Library. For more detailed information, refer to Installation and Release Bulletin Sybase SDK DB-Lib Kerberos Authentication Option 15.0.

  1. Purchase Sybase SDK DB-Lib Kerberos Authentication Option 15.0.

  2. Install Sybase SDK DB-Lib Kerberos Authentication Option 15.0 over SDK 15.0 ESD #3 or later.

  3. In DB-Library, include sybdbn.h instead of sybdb.h.

  4. Using dbsetversion, set the DB-Library version to DBVERSION_100 or above.

  5. Call one or more of the following APIs:

    • DBSETLNETWORKAUTH(Loginrec *loginrec, DBBOOl enable)
      
    • DBSETLMUTUALAUTH(Loginrec *loginrec, DBBOOl enable)
      
    • DBSETLSERVERPRINCIPAL(Loginrec *loginrec, char *name)
      
  6. Recompile DB-Library.