1krb5_principal_compare_flags - Compare two principals with additional flags. 2============================================================================== 3 4.. 5 6.. c:function:: krb5_boolean krb5_principal_compare_flags(krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2, int flags) 7 8.. 9 10 11:param: 12 13 **[in]** **context** - Library context 14 15 **[in]** **princ1** - First principal 16 17 **[in]** **princ2** - Second principal 18 19 **[in]** **flags** - Flags 20 21 22.. 23 24 25:retval: 26 - TRUE if the principal names are the same; FALSE otherwise 27 28 29.. 30 31 32 33 34 35 36 37Valid flags are: 38 39 - #KRB5_PRINCIPAL_COMPARE_IGNORE_REALM - ignore realm component 40 41 42 - #KRB5_PRINCIPAL_COMPARE_ENTERPRISE - UPNs as real principals 43 44 45 - #KRB5_PRINCIPAL_COMPARE_CASEFOLD case-insensitive 46 47 48 - #KRB5_PRINCIPAL_COMPARE_UTF8 - treat principals as UTF-8 49 50 51 52 53 54 55 56 57.. 58 59.. seealso:: 60 krb5_principal_compare() 61 62 63 64 65 66