Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

HP OpenVMS Systems Documentation

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

krb5_kt_resolve — Get keytab handle

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_kt_resolve(
krb5_context context,
const char *string_name,
krb5_keytab *id );

Arguments

context (input/output) 

The context structure.

string_name (input)  

The name of the keytab.

id (output) 

A keytab handle.

Description

This routine fills in id with a handle identifying the keytab with the name string_name. The keytab is not opened. The routine requires that string_name be of the form type:residual and type is a type known to the library.

Return Values

This routine returns the following KRB5 status code:

0

Successful completion.

ENOMEM

Insufficient memory.

KRB5_KT_UNKNOWN_TYPE

Unknown keytab type.

 

Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2012 Hewlett-Packard Development Company, L.P.