krb5_realm_compare()--Compare Realm Names of Two Principals


  Syntax
 #include <krb5.h>

 krb5_boolean krb5_realm_compare(
     krb5_context   context,
     krb5_const_principal princ1, 
     krb5_const_principal princ2);   
  Service Program Name: QSYS/QKRBGSS

  Default Public Authority: *USE

  Threadsafe: Yes

The krb5_const_principal() function compares the realm names of two principals.


Authorities

No authorities are required.


Parameters

context  (Input)
The Kerberos context.

princ1  (Input)
The first principal to be compared.

princ2  (Input)
The second principal to be compared.

Return Value

TRUE The realm names are equal.
FALSE The realm names are different.


Error Messages

Message ID Error Message Text
CPE3418 E Possible APAR condition or hardware failure.


API introduced: V5R1
Top | Security APIs
UNIX-Type APIs | APIs by category