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

krb5_kt_close — Close a key table

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_kt_close(
krb5_context context,
krb5_keytab id );

Arguments

context (input/output) 

The context structure.

id (input/output)  

A key table handle.

Description

This routine closes the keytab identified by id and invalidates id, and releases any other resources acquired during use of the key table.

It requires that id identifies a keytab.

Return Values

This routine returns the following KRB5 status code:

0

Successful completion.