krb5_kt_default()--Resolve Default Key Table


  Syntax
 #include <krb5.h>

 krb5_error_code krb5_kt_default(
     krb5_context       context,  
     krb5_keytab *      ktid); 
  Service Program Name: QSYS/QKRBGSS  
  Default Public Authority: *USE

  Threadsafe: Yes

The krb5_kt_default() function resolves the default key table and returns a handle that can be used to access the table. This is equivalent to calling the krb5_kt_resolve() routine with the name returned by the krb5_kt_default_name() routine.


Authorities

No authorities are required.


Parameters

context  (Input)
The Kerberos context.

ktid  (Output)
The key table handle.

Return Value

If no errors occur, the return value is 0. Otherwise, a Kerberos error code is returned.


Error Messages

Message ID Error Message Text
CPE3418 E Possible APAR condition or hardware failure.


API introduced: V5R1
Top | Security APIs
UNIX-Type APIs | APIs by category