Different Heimdal/MIT behaviour of krb5_get_credentials ?

Ken Raeburn raeburn at MIT.EDU
Thu May 31 15:26:23 EDT 2007


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




More information about the Kerberos mailing list