MIT Kerberos Documentation

krb5_kt_default_name - Get default key table name.

krb5_error_code krb5_kt_default_name(krb5_context context, char * name, int name_size)

[in] context - Library context

[inout] name - Key table name to be resolved

[in] name_size - Size of name to return

  • 0 Success
  • KRB5_CONFIG_NOTENUFSPACE Buffer is too short
  • Kerberos error codes

Fill name with the first name_size bytes of the name of the default key table for the current user.