A principal type. The type
argument controls how krb5_sname_to_principal generates
the principal name, ret_princ, for the
named service, sname. Valid values are: KRB5_NT_SRV_HST — The hostname will
be canonicalized (a fully qualified lowercase hostname using the
primary name and the domain name), before ret_princ is
generated in the form sname/hostname@LOCAL.REALM.
Most applications should use KRB5_NT_SRV_HST. KRB5_NT_UNKNOWN — While the
generated principal name will have the form sname/hostname@LOCAL.REALM,
the hostname will not be canonicalized
first. It will appear exactly as it was passed in hostname. |