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: Wed, 15 Sep 2021 16:42:35 +0200 Message-ID: <871r5pq4ro.fsf@gmx.de> References: <694581630832756@mail.yandex.ru> <9434111631047402@mail.yandex.ru> <87o893bkvs.fsf@gmx.de> <1352751631095968@mail.yandex.ru> <877dfrb0en.fsf@gmx.de> <326821631262741@mail.yandex.ru> <874karrzk8.fsf@gmx.de> <475611631397957@mail.yandex.ru> <475121631403182@mail.yandex.ru> <87v935re7v.fsf@gmx.de> <261061631470250@mail.yandex.ru> <87ee9tq61b.fsf@gmx.de> <666741631548160@mail.yandex.ru> <875yv3r5nt.fsf@gmx.de> <175481631623858@mail.yandex.ru> <871r5rqbrb.fsf@gmx.de> <6021631643208@mail.yandex.ru> <87wnnjow0c.fsf@gmx.de> <16141631658657@mail.yandex.ru> <87o88upbuf.fsf@gmx.de> <184711631712860@mail.yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35868"; 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" <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 Wed Sep 15 16:43:12 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 1mQW7z-00098Q-Hs for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Sep 2021 16:43:11 +0200 Original-Received: from localhost ([::1]:56702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQW7x-0004GG-NQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Sep 2021 10:43:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQW7q-0004Fo-NN for bug-gnu-emacs@gnu.org; Wed, 15 Sep 2021 10:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41291) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQW7q-0002dL-Fx for bug-gnu-emacs@gnu.org; Wed, 15 Sep 2021 10:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQW7q-0000BR-6G for bug-gnu-emacs@gnu.org; Wed, 15 Sep 2021 10:43: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: Wed, 15 Sep 2021 14:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50399 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 50399-submit@debbugs.gnu.org id=B50399.1631716968683 (code B ref 50399); Wed, 15 Sep 2021 14:43:02 +0000 Original-Received: (at 50399) by debbugs.gnu.org; 15 Sep 2021 14:42:48 +0000 Original-Received: from localhost ([127.0.0.1]:52837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQW7c-0000Av-CG for submit@debbugs.gnu.org; Wed, 15 Sep 2021 10:42:48 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:45919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQW7W-0000Ab-OQ for 50399@debbugs.gnu.org; Wed, 15 Sep 2021 10:42:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1631716956; bh=zK1VR2vFV0V1cUctqG7ecSaK3mTUMmODcUFqQZwzMjs=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=TryxKGj/EoVTD6vmX+7NRL8k9nN5EtFQSacFGQseHJ1KPXp7NBtE0ElDdzs01Jcox xCdwVZFLr7Z9YeINwMNaiLxzPhm0XNq0WQJ/oZXhyv83Rh1OxDP9HBX6cDkTri9dig EVPMv4LRFGfJospkaLFPXrCFQHjHR4mokavvADtE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.149.235]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N6bk4-1myKDi2d5y-0181oS; Wed, 15 Sep 2021 16:42:36 +0200 In-Reply-To: <184711631712860@mail.yandex.ru> (Bad Blue Bull's message of "Wed, 15 Sep 2021 16:42:58 +0300") X-Provags-ID: V03:K1:16flPHekHB702wsl0CcsmLaL9KiT7r9dzZtpd2FXXTRMTc4wWBU +TpjwLox6BehXW38bHxOHnp0RtjzG6kAy1+rpyYGiO8grzAjV0kvUe26OGFAqjPP8hfkAtx wACro3m+cn/2pzR9eDeFy+pTHwjhJhQggiXHR1rMic6LWJgeZH7LkWsyfHf47cyd4Z5K47t hBljjtGbAt5dgrZr67KiQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:7dtSgmZl0gE=:/GQ2rX+hWo3wIgUE0JixJP n+Pyex81BSUPVEMimF+hxdtilaEtV6rxt7LP5InDq2QDiK11fUZBNyrWFC2lR6GGrv6lTkxYG C5hh9FLGfLYir1xCm7oGr1WLyysCORtM376py6ZSKQBFn2Oo/tF3sAe6wXZBi3Lu+QnA3tIAt bqY4OU3Y1ho9ahA8bwNfgCU5mDD/soVwfydIxZ57rezDDjOhDfi5hngNSaOqgObh2e4/uc+ec UiW6whswf24osY/wi01LPaN5OUwgBJ/YVPj9b6Xak+XIMseORFyrBITgv9F92L/Q6ahRoKkR1 A695VAfxW58CCHdizmTA7ka7H59fA8TXH9Y/dk3ZwfFFZyVj31KP2vun2yVQw5KG9gqzck0Zi 3o1cLhYHN287SHVs4qqXhcbT2MT6UMyy3MLKOUaCECDy5f7V8uAhA1yd5PB/GITE+yyuX7BfH dPvVHkujF6DA1hy7s2olNxYnjMaGYTbayT2xATHT4ciEtIUAt29NUtfU/zG47YQhBOocW9Ru/ 5tWtjHMtk1Eky3U6ws3aJCEIo5o8rLsX0A8j9rjgKIRQaMJY1QC1bWxMCtujAdRunrhPIa9Y3 VTVq1I1DuhWToUJVeCpe1erUNkEtGwEji8bXeBUzrLTneGFz9pJgWq8Lh6BX9J3sdM4PU02dc E5p/RzVH0s0FgtLL44jWEc0YzFZUGhjU+U/v0UWCg3QXhhNI43sjYh46TtXtgONN5Q8uerJ9h GHX3wdpagSW//0mcCOvORhDCpiQRcUfA0PM3H/b5pUxZt2zZ9fdIDYX3SqqOBHQ1LOPk3+Jp 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:214401 Archived-At: Bad Blue Bull writes: Hi, > Dired is pretty same, (I didn't do emacs -Q becauseI have no ido dired > when start with -Q argument). Well, your MS Windows server doesn't tell the expected. Tramp tries to examine, whether it understands the smbclient command "stat": =2D-8<---------------cut here---------------start------------->8--- 16:32:17.351861 tramp-smb-send-command (6) # stat "/" 16:32:17.352040 tramp-smb-wait-for-output (6) # smb: \> =2D-8<---------------cut here---------------end--------------->8--- It doesn't show an error message, and so Tramp believes it understands it. And fails to use it. With more recent MS Windows or Samba server versions in my lab, we see =2D-8<---------------cut here---------------start------------->8--- 16:25:32.254587 tramp-smb-send-command (6) # stat "/" 16:25:32.256747 tramp-smb-wait-for-output (6) # Server doesn't support UNIX CIFS calls. smb: \> =2D-8<---------------cut here---------------end--------------->8--- This is recognized by Tramp. Hmm. Maybe you can teach Tramp that your MS Windows machine does not understand "stat". Add the following to your .emacs: =2D-8<---------------cut here---------------start------------->8--- (add-to-list 'tramp-connection-properties (list (regexp-quote "/smb:nicolas@win2k:") "stat-capability" nil)) =2D-8<---------------cut here---------------end--------------->8--- Then restart your Emacs. Best regards, Michael.