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
|
krb5_init_context_profile - Create a krb5 library context using a specified profile.
======================================================================================
..
.. c:function:: krb5_error_code krb5_init_context_profile(struct _profile_t * profile, krb5_flags flags, krb5_context * context)
..
:param:
**[in]** **profile** - Profile object (NULL to create default profile)
**[in]** **flags** - Context initialization flags
**[out]** **context** - Library context
..
..
Create a context structure, optionally using a specified profile and initialization flags. If *profile* is NULL, the default profile will be created from config files. If *profile* is non-null, a copy of it will be made for the new context; the caller should still clean up its copy. Valid flag values are:
- :data:`KRB5_INIT_CONTEXT_SECURE` Ignore environment variables
- :data:`KRB5_INIT_CONTEXT_KDC` Use KDC configuration if creating profile
..
|