skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_init_secure_context  Initialize a secure Kerberos context block krb5_init_secure_context Initialize a secure Kerberos context...
go to next page: krb5_kt_close  Close a key tablekrb5_kt_close Close a key table
end of book navigation links

krb5_kt_add_entry -- Add an entry to a key table 



C Prototype 

krb5_error_code krb5_kt_add_entry(
         krb5_context         context,
         krb5_keytab          id,
         krb5_keytab_entry    *entry );

Arguments 

context
(input/output)
 The context structure.
id (input)  A key table handle.
entry (input) The new entry to add to the key table.

Description 

This routine adds a new entry to a key table. If the table is not writeable, then KRB5_KT_NOWRITE is returned.

Return Values 

This routine returns the following KRB5 status code:

0
Successful completion.
ENOMEM
Insufficient memory.


go to previous page: krb5_init_secure_context  Initialize a secure Kerberos context block krb5_init_secure_context Initialize a secure Kerberos context...
go to next page: krb5_kt_close  Close a key tablekrb5_kt_close Close a key table