bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50399: TRAMP can't connect to Win 2000 (smb, ftp, telnet)


From: Bad Blue Bull
Subject: bug#50399: TRAMP can't connect to Win 2000 (smb, ftp, telnet)
Date: Wed, 15 Sep 2021 21:30:52 +0300

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
> 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)
 
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: \>
 


15.09.2021, 20:35, "Michael Albinus" <michael.albinus@gmx.de>:

Bad Blue Bull <ibmbull@yandex.ru> writes:

Hi,

 SORRY, forgot tramp-verbose
 https://drive.google.com/file/d/1SL1TfOdGPTYhaOxbWRQx1wfv0vw82YOX/view?usp=sharing


Thanks. Hmm, this looks strange. Sometimes, the smbclient commands work
as expected, sometimes, the responses of a command appear only after the
next command has been sent - this confuses Tramp.

What I have seen is that you change often the shares. This requires a
new connection, always. It is not the default use case.

Maybe this is due to the permanent reconnection. Could you, just for
test, work only at one share after you have connected to the Windows
server?

Best regards, Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]