MIT Kerberos Documentation

krb5_get_profile - Retrieve configuration profile from the context.

krb5_error_code krb5_get_profile(krb5_context context, struct _profile_t ** profile)

[in] context - Library context

[out] profile - Pointer to data read from a configuration file

  • 0 Success
  • Kerberos error codes

This function creates a new profile object that reflects profile in the supplied context .

The profile object may be freed with profile_release() function. See profile.h and profile API for more details.