MIT Kerberos Documentation

krb5_get_init_creds_opt_set_canonicalize - Set or unset the canonicalize flag in initial credential options.

void krb5_get_init_creds_opt_set_canonicalize(krb5_get_init_creds_opt * opt, int canonicalize)
param:

[in] opt - Options structure

[in] canonicalize - Whether to canonicalize client principal