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: Fri, 17 Sep 2021 21:49:18 +0300

Yes, it works with -Q.  It's confusing though that filenames in subfolders must be in capitals.  Like I have "file_id.diz" but I must refer it as "FILE_ID.DIZ".
but boot.ini in root folder is alright.
Sorry that I was too lazy to test it with -Q before, because it took some time to construct this:
 
#! env sh
./emacs -Q --eval \
        "(progn (setq tramp-verbose 6)
        (require 'tramp)
        (require 'tramp-smb)
        (add-to-list 'tramp-smb-options \"client min protocol=NT1\")
        (add-to-list 'tramp-connection-properties
             (list (regexp-quote \"/smb:nicolas@win2k:\")
                   \"stat-capability\" nil)))" \
        /smb:nicolas@win2k:/C$/TASMED/TASMED.CFG


17.09.2021, 21:19, "Michael Albinus" <michael.albinus@gmx.de>:

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

Hi,

 Yes, I noticed it. C:\scripts doesn't even exist.
 the instance of smbclient running according to ps -aux is
 /usr/bin/smbclient //win2k/C$ -U nicolas -s /dev/null --option client
 min protocol=NT1
 before I enter password. Then I enter password and then half minute
 after:
 /usr/bin/smbclient //win2k/src -U nicolas -s /dev/null --option client
 min protocol=NT1
 I've no idea about these scripts and src 'shares'.


Hmm, maybe there are some cache data in the way? What happens, if you
start "emacs -Q ..."?

 Why am I prompted for password every time? It's empty password saved
 many times into ~/.authinfo.


I'm already investigating this. I believe it is a bug in the auth.el
package (it shouldn't write empty passwords), but I haven't finished
analysis yet.

A workaround for Tramp might be the appended patch.

Best regards, Michael.


reply via email to

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