Creating Kerberos login mappings

You can create a Kerberos login mapping using either Sybase Central or a SQL statement.

To create a Kerberos login mapping (Sybase Central)

  1. Connect to the database as a user with DBA authority.

  2. Open the Login Mappings folder.

  3. From the File menu, choose New » Login Mapping.

    The Create Login Mapping Wizard appears.

To create a Kerberos login mapping (SQL)

  1. Connect to the database as a user with DBA authority.

  2. Execute a GRANT KERBEROS LOGIN TO statement.

    See GRANT statement.

Example

The following SQL statement grants KERBEROS login permission to the Windows user pchin.

GRANT KERBEROS LOGIN TO "pchin@MYREALM.COM" 
AS USER "kerberos-user";