krb5_principal_compare_any_realm - Compare two principals ignoring realm components.

krb5_boolean krb5_principal_compare_any_realm(krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2)
param:

[in] context - Library context

[in] princ1 - First principal

[in] princ2 - Second principal

retval:
  • TRUE if the principals are the same; FALSE otherwise

Similar to krb5_principal_compare() , but do not compare the realm components of the principals.