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 20:56:28 +0200 Message-ID: <87fsu5oeg3.fsf@gmx.de> References: <694581630832756@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> <871r5pq4ro.fsf@gmx.de> <236541631721876@mail.yandex.ru> <87wnnholrh.fsf@gmx.de> <244131631723063@mail.yandex.ru> <87sfy5ol0b.fsf@gmx.de> <243411631724679@mail.yandex.ru> <87o88toi6s.fsf@gmx.de> <242721631728352@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="36122"; 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 20:57:16 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 1mQa5s-0009EE-89 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Sep 2021 20:57:16 +0200 Original-Received: from localhost ([::1]:48434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQa5r-0004F5-5q for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 15 Sep 2021 14:57:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQa5e-0004Dk-O3 for bug-gnu-emacs@gnu.org; Wed, 15 Sep 2021 14:57:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41711) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQa5e-0001TB-8C for bug-gnu-emacs@gnu.org; Wed, 15 Sep 2021 14:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQa5d-0007IO-Ue for bug-gnu-emacs@gnu.org; Wed, 15 Sep 2021 14:57:01 -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 18:57:01 +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.163173220228016 (code B ref 50399); Wed, 15 Sep 2021 18:57:01 +0000 Original-Received: (at 50399) by debbugs.gnu.org; 15 Sep 2021 18:56:42 +0000 Original-Received: from localhost ([127.0.0.1]:53257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQa5J-0007Ho-FT for submit@debbugs.gnu.org; Wed, 15 Sep 2021 14:56:41 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:44381) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQa5D-0007HX-DL for 50399@debbugs.gnu.org; Wed, 15 Sep 2021 14:56:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1631732189; bh=GUnM+vkqGal7rUnMZN00aMKvGIZqkFRn34AiDlpY2D8=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=hAyocdyHJDxJdAK/IbogowMe+F49oX3+85IZy5FHwq7ekefoCwSxPJ7dsMD9dlMwL ZJtdKxA/A7bXkk9Y1TZKY15ayY2qctZ6NnSzheqEE8Zu/yd1poCKlCxrMcf8t6KYSb WoCsITfVv4FpR3hNEQHGfxjSl/xc0XTvTrL7YX6g= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.149.235]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N8XPt-1mvlxE0CFV-014PPg; Wed, 15 Sep 2021 20:56:29 +0200 In-Reply-To: <242721631728352@mail.yandex.ru> (Bad Blue Bull's message of "Wed, 15 Sep 2021 21:30:52 +0300") X-Provags-ID: V03:K1:TAy88K3ppGcSeEUyJFxpec+PU2dpFZzZ/h4J5uAmxbtWF3jCe18 Txb4TfU8xMMp6T5Te9cxGKGym44sJslM/rk6Uronao//16Pr1/v0/Axy6pkA8QG0gcaj0u7 wGV7VPa+so3LJE00JfvO3wkmzgw3vvgaeLLHGe3EhzRN1D0yl20DLcS2ii/6ZBW+D/ZFiNb /EYywgA98Kyaisxpl0k8w== X-UI-Out-Filterresults: notjunk:1;V03:K0:OnLDkNkWzfY=:krZfOfAy0JD8EggfuG3NU/ nXboSlqd9cvrpZ2VghofxRxxGgzbgKvp7ZX5C8meR6DBCJleh+9md3aYxMxlKAl0/gQGV9UCj VVb0/b+cGG7Pgs41mrN8yMsE7cnXGHW9enn0wNq3f0nW9xdSefMB9b8RHXANRYga6SPGGl/sV t/CG3MPN98jerPxu1sKCLTJTc76GKC7ooq7R0TZVFv45Br7M9lm+VodwSn8QIkK7MZsHnbQXO JTFmCTsJx4VUYIwVaQ8UEWlHbisianQokSlt0aQgUawfa0W1k75CIfv1OlwlQISDjIz4U+Vk6 AtyPWh71/yDF/esCJCIQFWe/h2Q7w0rgx5u/u8e4aed+ckevElirMuLfKjy3TPymDC3678fFd eEabECvmALiFoI0QauBmEKNix6ogaokB5BncaJKJopEQ52fTm59r1UV7qWFD5s0AqrnNzWZIX CfpEQUM/rV2Gfs/jFrMpbJUBfSqQE9i1vY/MgV/q8qWIwg/QMYZpHPBbBp7Nyivs2fz53Af8D TPmxF00UM+KeiBg6G0ONWMBVHQyQOz6sdl6q2T7zyNLh6JibUCj2o+FjROrbhhKuneUI2AEtP W2DFXTJ+OifeIUvfZ5V55Orwt6Ea4aj3hQz50n6YWwxS+8cXpYkCZhnSPOE4iFJqyFSpsmAQ8 AAj1OKG95H0Vd4U3jXRE0WIyYL5s/ocSuO1Gw+TkwPVL5/7ZLKynVglh2pL/DEaZ1mJzr8T+r 2ArOGadHQUtz6aIIfjHjcnzJDC70tRP0LEDhxfES1FjHX8MjitE4lFRy2s2Ip6e8aqvHkLxB 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:214430 Archived-At: Bad Blue Bull writes: Hi, > First, why does Tramp always ask me the password (which is empty) > despite I always save it to ~/.authinfo? > I have there many lines of this: > machine win2k login nicolas port smb Don't know, but could we face one problem after the other? >> Could you, just for test, work only at one share after you have > connected to the >> Windows server > Sorry, as I just discovered problem is not only with dired but with > usual c-x c-f (wih ido completion) I haven't spoken about dired, Tramp doesn't know even that it is called from a dired buffer. Tramp is just a simple library, which replaces the implementation of basic Lisp file functions (like `file-exists-p' or `copy-file') with something else. Whether these functions are called from dired or ido or whatever package doesn't matter for Tramp. > here I tried to walk into C:\Mags: (completion list for Mags was > empty) > ---------- >=20=20 > 21:28:42.250425 tramp-process-one-action (5) # Looking for regexp "\ > (\)\'" from remote shell > 21:28:42.250498 tramp-process-one-action (5) # Call > =E2=80=98tramp-action-process-alive=E2=80=99 > 21:28:42.250604 tramp-process-one-action (5) # Looking for regexp "\ > (^\(smb:\|PS\) .+> \|^\s-+Server\s-+Comment$\)\'" from remote shell > 21:28:42.250678 tramp-process-one-action (5) # Call > =E2=80=98tramp-action-succeed=E2=80=99 > 21:28:42.250754 tramp-process-actions (6) # > Enter WORKGROUP\nicolas's password: > Try "help" to get a list of possible commands. > smb: \> > 21:28:42.250952 tramp-smb-maybe-open-connection (3) # Opening > connection for //nicolas@win2k/C$...done > 21:28:42.251024 tramp-smb-send-command (6) # dir "\*" > 21:28:42.253268 tramp-smb-wait-for-output (6) # > arcldr.exe AHSR 150528 Thu Jun 19 13:05:04 > 2003 > arcsetup.exe AHSR 163840 Thu Jun 19 13:05:04 > 2003 > AUTOEXEC.BAT H 0 Sat Aug 7 11:51:22 > 2021 > boot.ini HS 196 Sat Aug 7 11:45:37 > 2021 > Bootfont.bin AHSR 4438 Thu Jun 21 04:00:00 > 2001 > CONFIG.SYS H 0 Sat Aug 7 11:51:22 > 2021 > Documents and Settings DA 0 Sun Aug 22 11:23:12 > 2021 > Downloads D 0 Sat Aug 7 19:01:48 > 2021 > Inetpub D 0 Sat Aug 28 03:36:06 > 2021 > IO.SYS AHSR 0 Sat Aug 7 11:51:22 > 2021 > ket D 0 Sun Sep 5 15:51:29 > 2021 > Mags D 0 Sat Sep 4 15:53:38 > 2021 > MSDOS.SYS AHSR 0 Sat Aug 7 11:51:22 > 2021 > NTDETECT.COM AHSR 34724 Thu Jun 19 13:05:04 > 2003 > ntldr AHSR 215520 Thu Jun 19 13:05:04 > 2003 > pagefile.sys AHS 805306368 Wed Sep 15 21:15:15 > 2021 > Program Files DAR 0 Sat Sep 4 15:39:11 > 2021 > pub DA 0 Sat Aug 28 03:46:23 > 2021 > RECYCLER DHS 0 Fri Aug 20 19:59:46 > 2021 > src D 0 Sat Aug 28 02:16:40 > 2021 > System Volume Information DHS 0 Sat Aug 7 12:05:17 > 2021 > TAE D 0 Wed Sep 8 00:21:02 > 2021 > TASM4 D 0 Wed Sep 8 00:21:02 > 2021 > TASM5 D 0 Wed Sep 8 00:21:04 > 2021 > TASMED D 0 Wed Sep 8 00:21:42 > 2021 > TEditAsm4 D 0 Wed Sep 8 00:21:05 > 2021 > TOOLS D 0 Wed Sep 8 00:21:05 > 2021 > TSHELL D 0 Wed Sep 8 00:21:05 > 2021 > TURBO_SHELL D 0 Wed Sep 8 00:21:05 > 2021 > WASM1 D 0 Wed Sep 8 00:21:06 > 2021 > WINNT DA 0 Sat Aug 28 03:36:34 > 2021 >=20=20 > 2873618 blocks of size 4096. 2330988 blocks available > smb: \> smb: \> Neither I understand what you want to tell me, nor is it helpful to see trace buffer fragments only. Have you tried the scenario I have asked for? Start a new Emacs instance, connect only to a single share (be it C$), and navigate only in this share. Does this work smoothly? If not, pls send me the whole trace buffer of this test. Best regards, Michael.