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.
|