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

krb5_kt_remove_entry — Remove an entry from a key table

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_kt_remove_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 entry to remove from the key table.

Description

This routine removes an entry from a key table. If this routine is not available, then KRB5_KT_NOWRITE is returned.

Return Values

This routine returns the following KRB5 status code:

0

Successful completion.

KRB5_KT_NOWRITE

Keytab is not writable.