From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#50399: TRAMP can't connect to Win 2000 (smb, ftp, telnet) Date: Sun, 05 Sep 2021 19:46:57 +0200 Message-ID: <87pmtm52zy.fsf@gmx.de> References: <694581630832756@mail.yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23568"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 50399@debbugs.gnu.org To: Bad Blue Bull Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 05 19:48:31 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mMwFr-0005xK-1c for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 19:48:31 +0200 Original-Received: from localhost ([::1]:54818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMwFq-0005hx-0q for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 13:48:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMwFO-0005C7-US for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 13:48:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39417) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMwFO-0003AU-Ew for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 13:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mMwFO-0001PJ-CW for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 13:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Sep 2021 17:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50399 X-GNU-PR-Package: emacs Original-Received: via spool by 50399-submit@debbugs.gnu.org id=B50399.16308640275348 (code B ref 50399); Sun, 05 Sep 2021 17:48:02 +0000 Original-Received: (at 50399) by debbugs.gnu.org; 5 Sep 2021 17:47:07 +0000 Original-Received: from localhost ([127.0.0.1]:50963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMwEV-0001OB-C5 for submit@debbugs.gnu.org; Sun, 05 Sep 2021 13:47:07 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:46843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMwET-0001NZ-0F for 50399@debbugs.gnu.org; Sun, 05 Sep 2021 13:47:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630864019; bh=4iKYMrgoYRd079ef/oFuzz6nx2TH0tlv6WjQtH+R5CY=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=HoosiMyX8yF70XeEjX9zjKxOtUj8LmMMWOCr7YD4SlwkGtBuSxpWgYfDYp0HzgcDu KwMjcEXjqBZ9jB6hWN311xf1H5+KyxaUmlTDSU5fpI+3qxOxUPB9nvORbuW1CI1whw O9k5+IfzZvMmab/thnQyP9Q6bBIEGrXquVLP4Fxc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.157.141]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MhU5R-1msAF72j3r-00ed0C; Sun, 05 Sep 2021 19:46:58 +0200 In-Reply-To: <694581630832756@mail.yandex.ru> (Bad Blue Bull's message of "Sun, 05 Sep 2021 12:43:40 +0300") X-Provags-ID: V03:K1:l0HD8LN8QvHMgB5Tj5I5wJtmoReBlnE+5poq2B20SMh1hNrXXTE qYGfIMgCRNEs8aqn8CJYFq7bZLYHpU4LmYhfZHC+PVRfigZxGlsxzweDni4ulZGAGkn8AuE ec+7jRQ5xwZ170hohIQwyb/xaMvR8bb5i8aNmXnn6JYfb1OYD/QC1YAsCamXwz/mDu5gbd0 T6XM9UGeqkhilmbRq2NvQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:tYq1VvWArYc=:7bFVF1XtNMM7oZ5TfqFTGn 3NytVRBdJ6PGaY984DTt35x4Jl0mAORWNyrvTQI4aUgrQLp0ByM6kk2gKUkWDlgwoyCrRAT8J NnnjO2nvm6AD7DtavBIeR0iiVuhfVAlm7v4mGEBfpz7bFlcljTaE89RdmBtf5z0q0fGICH+Om 3iQ/Y8RvKPkVrNZtNtxESBgovSB7CHIVycpyQIBmsNJo8yezbq269TpGy1ocp4QKFTetwDhfa ZYSmH3ddhJxgQOWHZ/nVR1B498LxJ6MlJE3N3mM4i5UKmV13QJjSi52dP2E3cKTl0Rgc5qhy5 GxoRoKRE6i9BQLv6hQhpsgcg/7ygxK0wHH9uTNToRHegEWnYpbAuVdhoaPg8/xisS3eRjnT4G yp45xCmtbwO6v3hhSYWrhXD7TTZQ510PHdZXZNiSdNL0DKrQWaI0QiQKN/nKEJxhWJaPVQm9R /OQz1COLzy2yX9J9gpk8evAVyt4xtYvCRXGocOlnxSo9Lq4D0CBxVOlwGHdq+M1LFWOLrdMSn PmFoV5RCLvet+xFihwSadGPgIDCW2XP7z9fOXHrmh5/bZAVTh83zzOF9i723ne77qUFC5YMEe XR3OH5DYiJ0FKhFA0AekbungjyewobYBLbDcQhdWlkwlVtTMvhm7TIfzOdKEHOcCAwF7RDcSj DemJNiOOCKmP12m9SjCJM7kV26vEqsbCB8V0WW51xmKvlKV520PaUrreE9nWjm61yOijFdc2j n1rtpbeba7E5DLPCT4sKjHGsLlyzW+zTi4bu4p2YaEbOr9fnI+Sx8UirvXIQvoBaaZWczias X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:213525 Archived-At: Bad Blue Bull writes: Hi, > I have troubles connecting to Win2K remotehost with TRAMP: Which Emacs/Tramp versions are you using? > Samba: > I can connect from console with smbclient: >=20=20 > smbclient -L win2k -U nicolas > smbclient //WIN2K/c$ -U Nicolas >=20=20 > but I can't with tramp (using "c-x c-f /ssh:nicolas@win2k:"): > protocol negotiation failed: NT_STATUS_IO_TIMEOUT This isn't samba but ssh. You must use "/smb:nicolas@win2k:/SHARE", with SHARE being a share name on your machine, for example "c$". > FTP: > I can connect with ftp, but when I try "c-x c-f > /ftp:Anonymous@192.168.0.141:" I get this: > File is missing: Opening directory No such file or directory > /ftp:Anonymous@192.168.0.141:/ [4 times] > tramp-signal-hook-function: Opening directory No such file or > directory /ftp:Anonymous@192.168.0.141:/ > meanwhile there's opened FTP session in *ftp Anonymous@192.168.0.141* > buffer, and I can use ftp commands there. > I can connect that way successfully to NetBSD remote host with bftpd > running on it. I would like to see the complete ange-ftp buffer. > Telnet: > I can connect using telnet from console or using PuTTY, but TRAMP just > hangs with > > Tramp: Opening connection for nicolas@192.168.0.141 using > telnet... > Tramp: Sending command =E2=80=98exec telnet 192.168.0.141 2>/dev/nul= l=E2=80=99 > Tramp: Waiting for prompts from remote shell... > Tramp: Sending login name =E2=80=98nicolas=E2=80=99 > File error: Timeout reached, see buffer =E2=80=98*tramp/telnet > nicolas@192.168.0.141*=E2=80=99 for details > Tramp: Waiting for prompts from remote shell...failed > Tramp: Opening connection for nicolas@192.168.0.141 using > telnet...failed > Cleaning up the recentf list...done (0 removed) > Tramp: Opening connection for nicolas@192.168.0.141 using > telnet... > Tramp: Sending command =E2=80=98exec telnet 192.168.0.141 2>/dev/nul= l=E2=80=99 > Tramp: Waiting for prompts from remote shell... > Tramp: Sending login name =E2=80=98nicolas=E2=80=99 > File error: Timeout reached, see buffer =E2=80=98*tramp/telnet > nicolas@192.168.0.141*=E2=80=99 for details > Tramp: Waiting for prompts from remote shell...failed > Tramp: Opening connection for nicolas@192.168.0.141 using > telnet...failed > Cleaning up the recentf list...done (0 removed) > tramp-signal-hook-function: Timeout reached, see buffer > =E2=80=98*tramp/telnet nicolas@192.168.0.141*=E2=80=99 for details > > the buffer has Process "*tramp/smb nicolas@win2k* exited abnormally > with code 1" This cannot be the telnet buffer, it must be something like "*tramp/telnet ...". Best regards, Michael.