Special installation instructions

NoteSilent Installation Mode is not available with the Sybase SDK DB-Lib Kerberos Authentication Option CD. Select either Graphic User Interface Installation Mode or Console Installation Mode.

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 15.0 ESD#4 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 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 remain invalid until the next time the application calls dbopen.

  4. Recompile the application.

For configuration information, refer to the following documents: