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_principal_compare — Compare two principals

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_boolean krb5_principal_compare(
krb5_context context,
krb5_const_principal princ1,
krb5_const_principal princ2 );

Arguments

context (input/output) 

The context structure.

princ1 (input) 

First principal name.

princ2 (input) 

Second principal name.

Description

This routine compares two principal names.

Return Values

This routine returns one of the following KRB5 status codes:

TRUE

Principals are the same.

FALSE

Principals are different.

 

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