MIT Kerberos Documentation

krb5_kt_resolve - Get a handle for a key table.

krb5_error_code krb5_kt_resolve(krb5_context context, const char * name, krb5_keytab * ktid)

[in] context - Library context

[in] name - Name of the key table

[out] ktid - Key table handle

  • 0 Success
  • Kerberos error codes

Resolve the key table name name and set ktid to a handle identifying the key table. The key table is not opened.


name must be of the form type:residual , where type must be a type known to the library and residual portion should be specific to the particular keytab type.