Skip Menu |
 

Download (untitled) / with headers
text/plain 2.5KiB
From jhawk@MIT.EDU Sun Nov 10 20:42:41 1996
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id UAA16940 for <bugs@RT-11.MIT.EDU>; Sun, 10 Nov 1996 20:42:41 -0500
Received: from LOLA-GRANOLA.MIT.EDU by MIT.EDU with SMTP
id AA18249; Sun, 10 Nov 96 20:42:40 EST
Received: (from jhawk@localhost) by lola-granola.MIT.EDU (8.6.12/8.6.12) id UAA28404; Sun, 10 Nov 1996 20:42:39 -0500
Message-Id: <199611110142.UAA28404@lola-granola.MIT.EDU>
Date: Sun, 10 Nov 1996 20:42:39 -0500
From: John Hawkinson <jhawk@MIT.EDU>
Reply-To: jhawk@MIT.EDU
To: krb5-bugs@MIT.EDU
Subject: telnet doesn't say what creds it is getting.
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 172
>Category: telnet
>Synopsis: telnet doesn't say what creds it is getting.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: hartmans
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Sun Nov 10 20:43:01 EST 1996
>Last-Modified:
>Originator: John Hawkinson
>Organization:
MIT
Show quoted text
>Release: 1.0-development
>Environment:

System: NetBSD lola-granola 1.1B NetBSD 1.1B (LOLA) #2: Thu Jul 11 00:13:13 EDT 1996 mycroft@zygorthian-space-raiders:/afs/sipb.mit.edu/project/netbsd/dev/current-source/build/i386_nbsd1/sys/arch/i386/compile/LOLA i386


Show quoted text
>Description:

We want to know what we're getting credentials for so that we
can debug all of Sam's other patches without it being such a colossal
pain in the butt.

Show quoted text
>How-To-Repeat:

Sit in the same room with Sam.

Show quoted text
>Fix:

*** kerberos.c 1996/11/11 01:14:47 1.1
--- kerberos.c 1996/11/11 01:38:40 1.2
***************
*** 188,193 ****
--- 188,196 ----
printf("Kerberos V4: no realm for %s\r\n", RemoteHostName);
return(0);
}
+ if (auth_debug_mode)
+ printf("Kerberos V4: getting credentials for %s.%s@%s\r\n",
+ KRB_SERVICE_NAME, instance, realm);
if (r = krb_mk_req(&auth, KRB_SERVICE_NAME, instance, realm, 0)) {
printf("mk_req failed: %s\r\n", krb_err_txt[r]);
return(0);
*** kerberos5.c 1996/10/07 01:07:17 1.3
--- kerberos5.c 1996/11/11 01:38:50 1.4
***************
*** 243,248 ****
--- 243,260 ----
return(0);
}

+ if (auth_debug_mode) {
+ char *s;
+
+ if (r = krb5_unparse_name(telnet_context, creds.server, &s)) {
+ printf("telnet: Kerberos V5: error unparsing service name: %s\r\n",
+ error_message(r));
+ return(0);
+ }
+ printf("telnet: Kerberos V5: getting credentials for %s\r\n",
+ s);
+ }
+
if (telnet_krb5_realm != NULL) {
krb5_data rdata;


Show quoted text
>Audit-Trail:
>Unformatted: