unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Bad Blue Bull <ibmbull@yandex.ru>
Cc: "50399@debbugs.gnu.org" <50399@debbugs.gnu.org>
Subject: bug#50399: TRAMP can't connect to Win 2000 (smb, ftp, telnet)
Date: Wed, 15 Sep 2021 20:56:28 +0200	[thread overview]
Message-ID: <87fsu5oeg3.fsf@gmx.de> (raw)
In-Reply-To: <242721631728352@mail.yandex.ru> (Bad Blue Bull's message of "Wed, 15 Sep 2021 21:30:52 +0300")

Bad Blue Bull <ibmbull@yandex.ru> 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)
> ----------
>  
> 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
> ‘tramp-action-process-alive’
> 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
> ‘tramp-action-succeed’
> 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
>  
>         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.





  reply	other threads:[~2021-09-15 18:56 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-05  9:43 bug#50399: TRAMP can't connect to Win 2000 (smb, ftp, telnet) Bad Blue Bull
2021-09-05 17:46 ` Michael Albinus
     [not found]   ` <1053251630945528@mail.yandex.ru>
     [not found]     ` <87lf49ehaa.fsf@gmx.de>
     [not found]       ` <1059951630951424@mail.yandex.ru>
2021-09-06 19:16         ` Michael Albinus
     [not found]           ` <1058271630967079@mail.yandex.ru>
2021-09-07 11:48             ` Michael Albinus
2021-09-07 20:44               ` Bad Blue Bull
2021-09-08  7:13                 ` Michael Albinus
2021-09-08 10:13                   ` Bad Blue Bull
2021-09-08 14:35                     ` Michael Albinus
2021-09-10  8:32                       ` Bad Blue Bull
2021-09-11 13:50                         ` Michael Albinus
2021-09-11 22:52                           ` Bad Blue Bull
2021-09-11 23:34                             ` Bad Blue Bull
2021-09-12 15:44                               ` Michael Albinus
     [not found]                                 ` <261061631470250@mail.yandex.ru>
2021-09-13  7:38                                   ` Michael Albinus
2021-09-13 15:58                                     ` Bad Blue Bull
2021-09-14  7:13                                       ` Michael Albinus
2021-09-14 12:55                                         ` Bad Blue Bull
2021-09-14 17:59                                           ` Michael Albinus
2021-09-14 18:18                                             ` Bad Blue Bull
2021-09-14 18:24                                               ` Michael Albinus
2021-09-14 22:45                                                 ` Bad Blue Bull
2021-09-15  6:55                                                   ` Michael Albinus
2021-09-15 13:42                                                     ` Bad Blue Bull
2021-09-15 14:42                                                       ` Michael Albinus
2021-09-15 16:09                                                         ` Bad Blue Bull
2021-09-15 16:18                                                           ` Michael Albinus
2021-09-15 16:28                                                             ` Bad Blue Bull
2021-09-15 16:34                                                               ` Michael Albinus
     [not found]                                                                 ` <243411631724679@mail.yandex.ru>
2021-09-15 17:35                                                                   ` Michael Albinus
2021-09-15 18:30                                                                     ` Bad Blue Bull
2021-09-15 18:56                                                                       ` Michael Albinus [this message]
2021-09-15 19:26                                                                         ` Bad Blue Bull
2021-09-15 19:46                                                                           ` Bad Blue Bull
2021-09-16 15:28                                                                             ` Michael Albinus
2021-09-16 15:30                                                                               ` Michael Albinus
2021-09-16 16:24                                                                                 ` Bad Blue Bull
2021-09-16 16:33                                                                               ` Bad Blue Bull
2021-09-16 16:35                                                                                 ` Bad Blue Bull
2021-09-16 17:33                                                                                 ` Michael Albinus
     [not found]                                                                                   ` <26141631830717@mail.yandex.ru>
2021-09-16 22:47                                                                                     ` Bad Blue Bull
2021-09-17  5:36                                                                                     ` Michael Albinus
2021-09-17 16:02                                                                                       ` Bad Blue Bull
2021-09-17 16:55                                                                                         ` Michael Albinus
2021-09-17 18:12                                                                                           ` Bad Blue Bull
2021-09-17 18:19                                                                                             ` Michael Albinus
2021-09-17 18:49                                                                                               ` Bad Blue Bull
2021-09-17 18:54                                                                                                 ` Bad Blue Bull
2021-09-18  7:54                                                                                                   ` Michael Albinus
2021-09-18  8:01                                                                                                 ` Michael Albinus
2021-09-18  9:10                                                                                                   ` Bad Blue Bull
2021-09-18 11:09                                                                                                     ` Michael Albinus
2021-09-18 15:27                                                                                                       ` Bad Blue Bull
2021-09-18 17:02                                                                                                         ` Michael Albinus
2021-09-17 19:03                                                                                               ` Bad Blue Bull
2021-09-18  7:57                                                                                                 ` Michael Albinus
2021-09-19 18:36                                                                                                   ` Michael Albinus
2021-10-18  8:27                                                                                                     ` Lars Ingebrigtsen
2021-09-16 15:37                                                                           ` Michael Albinus
2021-09-15 13:44                                                     ` Bad Blue Bull
2021-09-12 15:37                             ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fsu5oeg3.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=50399@debbugs.gnu.org \
    --cc=ibmbull@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).