MIT Kerberos Documentation

krb5_principal_compare_flags - Compare two principals with additional flags.

krb5_boolean krb5_principal_compare_flags(krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2, int flags)
param:

[in] context - Library context

[in] princ1 - First principal

[in] princ2 - Second principal

[in] flags - Flags

retval:
  • TRUE if the principal names are the same; FALSE otherwise

Valid flags are: