Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) X-RT-Original-Encoding: iso-8859-1 Content-Length: 2310 From hartmans@MIT.EDU Mon Sep 30 01:05:37 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 BAA23686 for ; Mon, 30 Sep 1996 01:05:36 -0400 Received: from STARKILLER.MIT.EDU by MIT.EDU with SMTP id AA00565; Mon, 30 Sep 96 01:05:35 EDT Received: by starkiller.MIT.EDU (5.x/4.7) id AA17165; Mon, 30 Sep 1996 01:05:35 -0400 Message-Id: <9609300505.AA17165@starkiller.MIT.EDU> Date: Mon, 30 Sep 1996 01:05:35 -0400 From: hartmans@MIT.EDU Reply-To: hartmans@MIT.EDU, "Jonathan I. Kamens" To: krb5-bugs@MIT.EDU Subject: krb5-beta7: "-n" flag to FTP should disable GSS-API authentication X-Send-Pr-Version: 3.99 >Number: 43 >Category: krb5-appl >Synopsis: gssftp should not try to authenticate with -n >Confidential: no >Severity: serious >Priority: medium >Responsible: tlyu >State: closed >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Mon Sep e 01:06:00 EDT 1996 >Last-Modified: Tue Oct e 19:32:49 EDT 1996 >Originator: "Jonathan I. Kamens" >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: State-Changed-From-To: open-closed State-Changed-By: tlyu State-Changed-When: Tue Oct 1 19:31:23 1996 State-Changed-Why: dup of krb5-appl/38; already closed there Responsible-Changed-From-To: krb5-unassigned->tlyu Responsible-Changed-By: tlyu Responsible-Changed-When: Tue Oct 1 19:32:10 1996 Responsible-Changed-Why: I already dealt with this >Unformatted: