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)
param:

[in] context - Library context

[inout] name - Key table name to be resolved

[in] name_size - Size of name to return

retval:
  • 0 Success
  • KRB5_CONFIG_NOTENUFSPACE Buffer is too short
return:
  • Kerberos error codes

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