Use the default service principal (don't assume it is "host") as the
authorRichard Basch <probe@mit.edu>
Thu, 9 May 1996 15:59:11 +0000 (15:59 +0000)
committerRichard Basch <probe@mit.edu>
Thu, 9 May 1996 15:59:11 +0000 (15:59 +0000)
basis for the replay cache name.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7950 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/libtelnet/ChangeLog
src/appl/telnet/libtelnet/kerberos5.c

index 88d8e9a0d9569e6e3e495ad3884032c50bc562fa..832f6a01cf123053701dc692c66e4373f34f8506 100644 (file)
@@ -1,3 +1,8 @@
+Thu May  9 00:06:41 1996  Richard Basch  <basch@lehman.com>
+
+       * kerberos5.c: use the default server principal name to generate
+       the rcache filename
+
 Sat Apr 27 16:09:54 1996  Richard Basch  <basch@lehman.com>
 
        * kerberos5.c: a host may have multiple names and multiple keys,
index db9e5c0a323b68d2bd2aa06020663556263165a4..102e16b0b6318438c505a3aa723b607b77035026 100644 (file)
@@ -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,