1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
krb5_524_conv_principal - Convert a Kerberos V5 principal to a Kerberos V4 principal.
=======================================================================================
..
.. c:function:: krb5_error_code krb5_524_conv_principal(krb5_context context, krb5_const_principal princ, char * name, char * inst, char * realm)
..
:param:
**[in]** **context** - Library context
**[in]** **princ** - V5 Principal
**[out]** **name** - V4 principal's name to be filled in
**[out]** **inst** - V4 principal's instance name to be filled in
**[out]** **realm** - Principal's realm name to be filled in
..
:retval:
- 0 Success
- KRB5_INVALID_PRINCIPAL Invalid principal name
- KRB5_CONFIG_CANTOPEN Can't open or find Kerberos configuration file
:return:
- Kerberos error codes
..
This function separates a V5 principal *princ* into *name* , *instance* , and *realm* .
..
|