From xemacs-m  Sat Jan 25 11:09:59 1997
Received: from cdc.noaa.gov (manager.Colorado.EDU [128.138.218.210])
          by xemacs.org (8.8.4/8.8.4) with SMTP
	  id LAA28965 for <xemacs-beta@xemacs.org>; Sat, 25 Jan 1997 11:09:57 -0600 (CST)
Received: from suomi by cdc.noaa.gov (SMI-8.6/SMI-SVR4)
	id KAA23856; Sat, 25 Jan 1997 10:09:57 -0700
Received: by suomi (SMI-8.6) id KAA04349; Sat, 25 Jan 1997 10:09:57 -0700
Sender: mdb@cdc.noaa.gov
To: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor])
Cc: xemacs-beta@xemacs.org
Subject: Re: [20.0-b91] efs-1.15 lossage
References: <vkafq0ry6h.fsf@cdc.noaa.gov> <y9lvi8nse13.fsf@modas.informatik.uni-tuebingen.de> <vk3evqkakl.fsf@cdc.noaa.gov> <y9lybdhhjf8.fsf@modas.informatik.uni-tuebingen.de>
Organization: CIRES, University of Colorado
X-Attribution: mb
From: Mark Borges <mdb@cdc.noaa.gov>
Date: 25 Jan 1997 10:09:53 -0700
Message-ID: <vk915hvfz2.fsf@cdc.noaa.gov>
Lines: 74
X-Mailer: Red Gnus v0.83/XEmacs 20.0

>> On 25 Jan 1997 16:19:07 +0100,
>> Michael Sperber [Mr Preprocessor](m) wrote:
>>>>>> "mb" == Mark Borges <mdb@cdc.noaa.gov> writes:
>>>> On 24 Jan 1997 08:55:36 +0100,
>>>> Michael Sperber [Mr Preprocessor](m) wrote:
>>>>>>>> "mb" == Mark Borges <mdb@cdc.noaa.gov> writes:
mb> Is
mb> [ ... ] efs-version's value is "1.15/1.55" [ ... ]
mb> supposed to work with 20.0-b91? I get this backtrace:

m> Yes.  This bug has already been fixed in my workspace.  Patch
m> attached.

mb> Unfortunately, it doesn't fix it completely. It doesn't appear to get
mb> the encrypted password correctly (for non-anon-ftp sites).

mb> I believe this is true because I fired up 19.15-b90 using the old
mb> defun and it worked. I then evaled the new defun in 19.15-b90, and it
mb> fails just as it does in 20.0-b91 -- I get prompted repeatedly to
mb> enter a password (my .netrc file contains the correct password).

m> Could you be more specific?  (I.e. send a complete protocol of what
m> you did.)  I can't reproduce this at all.

I'll try...

  1. \C-x \C-f /mark@eos.atmos.washington.edu:

It connects, then I get prompted for the password to decrypt my
`.netrc' file. That apparently succeeds, but then I get prompted for
the password at eos.atmos.washington.edu (which should not happen, as
the login/password combo are in my .netrc file).

I think the failure must be occurring when efs tries to grab the
password out of the decrypted buffer. If I remove my .netrc file and
get propmted manually to enter the password, it does  succeed.

Anyway, I go ahead and type in the correct password, but it never
succeeds.

Here is the recent lossage buffer:
------------------------------ *Help* ------------------------------
Logging in as user mark...
Logging in as user mark...
Auto-save off (in this buffer)
Decrypting *ftp-.netrc*... done
Decrypting *ftp-.netrc*...
Logging in as user mark...
Opening FTP connection to eos.atmos.washington.edu...
------------------------------ *Help* ------------------------------

And here is the *ftp buffer contents:

----------------------------------- *ftp buffer ---------------------------------
open eos.atmos.washington.edu
Connected to eos.atmos.washington.edu.
220 eos FTP server (UNIX(r) System V Release 4.0) ready.
ftp> quote user "mark"
331 Password required for mark.
ftp> quote pass  Turtle Power!
530 Login incorrect.
ftp> quote user "mark"
331 Password required for mark.
ftp> quote pass  Turtle Power!
530 Login incorrect.
ftp> quote user "mark"
331 Password required for mark.
ftp> quote pass  Turtle Power!
530 Login incorrect.
ftp> quit
----------------------------------- *ftp buffer ---------------------------------

-- 
  -mb-

