On Tue, 2005-01-18 at 11:04 +0900, Stephen J. Turnbull wrote:
>>>>> "Ed" == Ed Earl Ross
Ed> 500 AUTH not understood
The XEmacs FTP server doesn't do the FTP AUTH (authorization, but you
probably _did_ guess that much :-) protocol. Overly helpful (in this
case, spelled R E D H A T) ftp clients attempt it without being asked
to; this causes the error return from the server, which confuses the
XEmacs FTP driver program, EFS.
Right. Here's the how it's on FC3, and how to make EFS work in that
If one has the "krb5-workstation" package installed, kerberized versions
of various tools, including "ftp" are in /usr/kerberos/bin, which is
also at the beginning of $PATH by default. This is the situation EFS
does not work well with.
The workaround Red Hat places in the XEmacs rpms it ships is to add this
(setq efs-ftp-program-name "/usr/bin/ftp")
That "fixes" EFS.
Check the man page for "ftp" and find the command-line
switch to turn
off auto-AUTH negotiation (I don't know what it might be called, I
don't use Red Hat, but IIRC the switch was -g; check that and see if
the description rings a bell) and add that switch to
`efs-ftp-program-args' using M-x customize-variable.
I think it's -u. The problem with that approach is that -u is only
understood by /usr/kerberos/bin/ftp, not /usr/bin/ftp. So if one adds
it to EFS's flags and leaves efs-ftp-program-name to "ftp" and later
removes the krb5-workstation package, things will break again. Better
to just tweak efs-ftp-program-name IMO.