[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Different Heimdal/MIT behaviour of krb5_get_credentials ?
On May 31, 2007, at 14:25, Markus Moeller wrote:
> if ((kret = krb5_sname_to_principal(kcontext, hostname,service,
> KRB5_NT_SRV_HST,&creds.server))) {
> com_err(argv[0], kret,"while initialising server creds");
> return(-1);
> }
> Server not found in Kerberos database while getting credentials
>
> Does the MIT code canonicalise the name in creds.server principal ?
If you use krb5_sname_to_principal(...KRB5_NT_SRV_HST...), yes, we do.
Ken