[2274] in Kerberos-V5-bugs
krb5-appl/43: krb5-beta7: "-n" flag to FTP should disable GSS-API authentication
daemon@ATHENA.MIT.EDU (hartmans@MIT.EDU)
Mon Sep 30 01:07:03 1996
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: krb5-unassigned@RT-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, hartmans@MIT.EDU,
"Jonathan I. Kamens" <jik@annex-1-slip-jik.cam.ov.com>
Date: Mon, 30 Sep 1996 01:05:35 -0400
From: hartmans@MIT.EDU
Reply-To: hartmans@MIT.EDU,
"Jonathan I. Kamens" <jik@annex-1-slip-jik.cam.ov.com>
To: krb5-bugs@MIT.EDU
>Number: 43
>Category: krb5-appl
>Synopsis: gssftp should not try to authenticate with -n
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Mon Sep e 01:06:00 EDT 1996
>Last-Modified:
>Originator: "Jonathan I. Kamens" <jik@annex-1-slip-jik.cam.ov.com>
>Organization:
mit
>Release: beta-7
>Environment:
System: SunOS starkiller 5.4 Generic_101945-37 sun4m sparc
>Description:
People have mentioned in comp.protocols.kerberos that the ftp client
in krb5-beta7 attempts to do GSS-API authentication even when the "-n"
flag is specified on the command line, even though the man page says
it shouldn't. I think the man page is right and the code is wrong
:-), so here's a fix:
--- cmds.c 1996/09/27 17:14:05 1.1
+++ cmds.c 1996/09/27 17:14:20
@@ -167,9 +167,10 @@
mode = MODE_S;
stru = STRU_F;
(void) strcpy(bytename, "8"), bytesize = 8;
- do_auth();
- if (autologin)
+ if (autologin) {
+ do_auth();
(void) login(argv[1]);
+ }
if (0) {
setpbsz(1<<20);
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted: