[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_principal2salt — Convert a krb5_principal into it’s default salt

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_principal2salt (
krb5_context context,
register krb5_const_principal pr,
krb5_data *ret );

Arguments

context (input/output) 

The context structure.

pr (input) 

The principal name.

ret (output) 

A pointer to the default salt for the given principal name.

Description

This routine converts a principal name into the default salt for that principal.

Return Values

This routine returns one of the following KRB5 status codes:

0Successful completion.
ENOMEM

Insufficient memory.