HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 6 KRB5 (Kerberos V5) Application Programming Interface

krb5_kt_add_entry — Add an entry to a key table

  Table of Contents



C Prototype

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


context (input/output) 

The context structure.

id (input)  

A key table handle.

entry (input) 

The new entry to add to the key table.


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:


Successful completion.

ENOMEM Insufficient memory.