[an error occurred while processing this directive]

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_default_name — Get default key table name

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_kt_default_name(
krb5_context context
char *name,
int namesize );

Arguments

context (input/output) 

The context structure.

name (input/output)  

Key table name to resolve.

namesize (input) 

The size of the name to return. Anything more than namesize will be zeroed in name upon completion.

Description

This routine fills name with the first namesize bytes of the name of the default keytab. If the name is shorter than namesize, then the remainder of name will be zeroed.

Return Values

This routine returns the following KRB5 status code:

0

Successful completion.