From: Richard Basch Date: Thu, 9 May 1996 15:59:11 +0000 (+0000) Subject: Use the default service principal (don't assume it is "host") as the X-Git-Tag: krb5-1.0-beta6~119 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b1e63f63d694ab1ffe255c5019a5d68a214680fd;p=krb5.git Use the default service principal (don't assume it is "host") as the basis for the replay cache name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7950 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/telnet/libtelnet/ChangeLog b/src/appl/telnet/libtelnet/ChangeLog index 88d8e9a0d..832f6a01c 100644 --- a/src/appl/telnet/libtelnet/ChangeLog +++ b/src/appl/telnet/libtelnet/ChangeLog @@ -1,3 +1,8 @@ +Thu May 9 00:06:41 1996 Richard Basch + + * kerberos5.c: use the default server principal name to generate + the rcache filename + Sat Apr 27 16:09:54 1996 Richard Basch * kerberos5.c: a host may have multiple names and multiple keys, diff --git a/src/appl/telnet/libtelnet/kerberos5.c b/src/appl/telnet/libtelnet/kerberos5.c index db9e5c0a3..102e16b0b 100644 --- a/src/appl/telnet/libtelnet/kerberos5.c +++ b/src/appl/telnet/libtelnet/kerberos5.c @@ -393,7 +393,7 @@ kerberos5_is(ap, data, cnt) r = krb5_auth_con_getrcache(telnet_context, auth_context, &rcache); if (!r && !rcache) { - r = krb5_sname_to_principal(telnet_context, 0, "host", + r = krb5_sname_to_principal(telnet_context, 0, 0, KRB5_NT_SRV_HST, &server); if (!r) { r = krb5_get_server_rcache(telnet_context,