Special installation instructions

StepsTo enable the Sybase SDK DB-Lib Kerberos Authentication Option

Before enabling the Sybase SDK DB-Lib Kerberos Authentication Option, you must ensure that the Option is installed over your existing installation of SDK 12.5.1 ESD#12 or above.

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

  2. Using dbsetversion, set the DB-Library version to DBVERSION_100 or above. If you do not set DB-Library to the latest version, DB-Library reverts to the default version of DBVERSION_46, which does not support the new Kerberos option at the TDS protocol level.

  3. Enable the new option using DBSETLNETWORKAUTH or DBSETLMUTUALAUTH, then call dbopen.

    NoteIf the server’s principle name does not match the server’s directory entry name, call DBSETLSERVERPRINCIPAL to set the server’s principal name before calling dbopen.

    All calls to DBSETLNETWORKAUTH, DBSETLMUTUALAUTH, or DBSETLSERVERPRINCIPAL after calling dbopen will remain invalid until the next time the application calls dbopen.

  4. Recompile application.

For configuration information, refer to the following documents: