* krb5-clients: ftp gives spurious permanent error
@ 2002-07-25 12:20 Francesco Potorti`
2002-07-25 13:13 ` Bug#154252: " Francesco Potorti`
2002-07-25 14:47 ` Eric Marsden
0 siblings, 2 replies; 5+ messages in thread
From: Francesco Potorti` @ 2002-07-25 12:20 UTC (permalink / raw)
Cc: GNU emacs bug list
Package: krb5-clients
Version: 1.2.4-5
Severity: normal
Since installing the kerberos 5 clients on a Debian system, Emacs'
ange-ftp has gotten confused by this message:
root@pot# ftp ftp.it.debian.org
Connected to ftp.bofh.it.
220 ready, dude (vsFTPd 1.0.0: beat me, break me)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (ftp.it.debian.org:pot):
As you see, before the prompt, two 530 messages are given, which can be
safely ignored. Unfortunately, ange-ftp takes them seriously and fails.
According to RFC 959, however, ange ftp is correct, because a 5xy error
is a permanent error. Is that indeed the case? Is the kerberised ftp
wrong? I think so.
-- System Information
Debian Release: 3.0
Kernel Version: Linux pot.cnuce.cnr.it 2.4.18 #1 Fri May 17 13:44:40 CEST 2002 i686 unknown
Versions of the packages krb5-clients depends on:
ii e2fsprogs 1.27-2 The EXT2 file system utilities and libraries
ii krb5-config 1.4 Configuration files for Kerberos Version 5
ii libc6 2.2.5-10 GNU C Library: Shared libraries and Timezone
ii libkrb53 1.2.4-5 MIT Kerberos runtime libraries
ii libncurses5 5.2.20020112a- Shared libraries for terminal handling
ii e2fsprogs 1.27-2 The EXT2 file system utilities and libraries
^^^ (Provides virtual package libcomerr2)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug#154252: krb5-clients: ftp gives spurious permanent error
2002-07-25 12:20 krb5-clients: ftp gives spurious permanent error Francesco Potorti`
@ 2002-07-25 13:13 ` Francesco Potorti`
2002-07-26 15:36 ` Richard Stallman
2002-07-25 14:47 ` Eric Marsden
1 sibling, 1 reply; 5+ messages in thread
From: Francesco Potorti` @ 2002-07-25 13:13 UTC (permalink / raw)
I just discovered that the problem is cured by using a "-u" option to
ftp, instead of the normal "-n" that ange-ftp uses.
"-u" means "do not auto-athenticate and do not auto-login"
It may be argued that the kerberised ftp should not try to authenticate
when given the "-n" option, for compatibility with traditional ftp, that
is, -n should do the same as -u.
The way the kerberised ftp currently behaves is incompatible with ftp,
and a program using it (ange-ftp) should first test it to see which
version it is.
Or else ignore those specific 530 messages at startup.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: krb5-clients: ftp gives spurious permanent error
2002-07-25 12:20 krb5-clients: ftp gives spurious permanent error Francesco Potorti`
2002-07-25 13:13 ` Bug#154252: " Francesco Potorti`
@ 2002-07-25 14:47 ` Eric Marsden
2002-07-26 13:15 ` Francesco Potorti`
1 sibling, 1 reply; 5+ messages in thread
From: Eric Marsden @ 2002-07-25 14:47 UTC (permalink / raw)
the following thread discussed the problem, and led to a patch that I
believe was applied to Emacs 20.7, but that does not seem to have been
taken to the Emacs 21 branch.
<URL:http://groups.google.com/groups?threadm=wzipuqwdf3y.fsf%40mail.dotcom.fr>
--
Eric Marsden <URL:http://www.laas.fr/~emarsden/>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: krb5-clients: ftp gives spurious permanent error
2002-07-25 14:47 ` Eric Marsden
@ 2002-07-26 13:15 ` Francesco Potorti`
0 siblings, 0 replies; 5+ messages in thread
From: Francesco Potorti` @ 2002-07-26 13:15 UTC (permalink / raw)
<URL:http://groups.google.com/groups?threadm=wzipuqwdf3y.fsf%40mail.dotcom.fr>
That one should do the trick, except that we have a 530 error message
rather than a 500.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug#154252: krb5-clients: ftp gives spurious permanent error
2002-07-25 13:13 ` Bug#154252: " Francesco Potorti`
@ 2002-07-26 15:36 ` Richard Stallman
0 siblings, 0 replies; 5+ messages in thread
From: Richard Stallman @ 2002-07-26 15:36 UTC (permalink / raw)
Cc: 154252, bug-gnu-emacs
I just discovered that the problem is cured by using a "-u" option to
ftp, instead of the normal "-n" that ange-ftp uses.
"-u" means "do not auto-athenticate and do not auto-login"
You can set ange-ftp-ftp-program-args to specify -n.
Is that sufficient, or do you want some further feature?
The way the kerberised ftp currently behaves is incompatible with ftp,
and a program using it (ange-ftp) should first test it to see which
version it is.
I don't know whether this is a feasible thing to do, but if someone
implements it and it works smoothly, this would be good to install.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-07-26 15:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-25 12:20 krb5-clients: ftp gives spurious permanent error Francesco Potorti`
2002-07-25 13:13 ` Bug#154252: " Francesco Potorti`
2002-07-26 15:36 ` Richard Stallman
2002-07-25 14:47 ` Eric Marsden
2002-07-26 13:15 ` Francesco Potorti`
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).