Hello Michael Thanks for this reply. I tried your recipe, it wasn't successful. I noticed that FTP message number 331 is used at various places in ange-ftp.el ,but was unable to assess whether message number 334 would alos apply at these places. For the time being, I assume thas the wisest way will be to wait a bit, expecting that my sytem administrator will improve the FTP server messages on the target machine (as he announced it)
Thanks a lot for trying, anyway Best regards Stephane ----- Mail original ----- | De: "Michael Albinus" <[email protected]> | À: "SENESI Stéphane" <[email protected]> | Cc: [email protected] | Envoyé: Vendredi 16 Janvier 2015 17:03:31 | Objet: Re: Tramp is misleaded by an error message at ftp login | SENESI Stéphane <[email protected]> writes: | > Dear Tramp users and gurus | Hi Stéphane, | > New machine, new issues : my new 'archive' machine, Hendrix, issues an | > error message upon ftp connection, which drives Tramp in a strange | > state : albeit it is able to go ahead, and to forward the password | > which I typed in, and hence to successfully log in, it nevertheless | > issues an error message (which actually is a copy of the ftp error | > message, see below) and do not list the directory I was asking for | > | > Is there a simple way to bypass this problem ? | It is not Tramp, but ange-ftp.el which handles this. | > Here is the session transcript : | > | > ftp> open hendrix | > Connected to hendrix.meteo.fr. | > 220-# HPSS 7.4 Parallel FTP Daemon on hendrixftp0 | > # coming from lxaster7.cnrm.meteo.fr | > | > 220 hendrixftp0 FTP server (HPSS 7.4 PFTPD V1.1.1 Mon Dec 1 22:56:04 | > UTC 2014) ready. | > user "senesi" Turtle Power! | > 334 Using authentication type GSSAPI; ADAT must follow | > GSSAPI accepted as authentication type | > GSSAPI error major: Unspecified GSS failure. Minor code may provide | > more information | > GSSAPI error minor: No Kerberos credentials available | > GSSAPI error: initializing context | > GSSAPI authentication failed | > Remote system type is UNIX. | > Using binary mode to transfer files. | > ftp> 331 Password required for senesi. | > 230 User senesi logged in as [email protected] | I assume the line "334 Using authentication type GSSAPI; ADAT must follow" | is shown, right? In this case, you could try the patch | --8<---------------cut here---------------start------------->8--- | *** /tmp/ediff29392kWo 2015-01-16 16:57:49.973510031 +0100 | --- /home/albinus/src/emacs/lisp/net/ange-ftp.el 2015-01-16 | 16:57:32.225196912 +0100 | *************** | *** 715,721 **** | ;; security-aware FTP servers should respond to this with a 500 code, | ;; which we ignore. | (defcustom ange-ftp-skip-msgs | ! (concat "^200 \\(PORT\\|Port\\) \\|^331 \\|^150 \\|^350 \\|^[0-9]+ bytes | \\|" | "^Connected \\|^$\\|^Remote system\\|^Using\\|^ \\|Password:\\|" | "^Data connection \\|" | "^local:\\|^Trying\\|^125 \\|^550-\\|^221 .*oodbye\\|" | --- 715,721 ---- | ;; security-aware FTP servers should respond to this with a 500 code, | ;; which we ignore. | (defcustom ange-ftp-skip-msgs | ! (concat "^200 \\(PORT\\|Port\\) \\|^33[14] \\|^150 \\|^350 \\|^[0-9]+ bytes | \\|" | "^Connected \\|^$\\|^Remote system\\|^Using\\|^ \\|Password:\\|" | "^Data connection \\|" | "^local:\\|^Trying\\|^125 \\|^550-\\|^221 .*oodbye\\|" | --8<---------------cut here---------------end--------------->8--- | > Thanks. | Best regards, Michael. -- ----- Météo-France ----- SENESI STEPHANE CNRM/GMGEC/ASTER [email protected] Fixe : +33 561079931
_______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
