[Pkg-samba-maint] smbclient with directive -L tries to connectto with SMB1 protocol on SMB3 server even I specified -e -m SMB3_11

Hranislav Milenkovic hmilenkovic at protonmail.com
Sat Dec 12 08:56:29 GMT 2020


Hi package maintainers. I am using smbclient on debian 4.9.5 to connect to samba server using protocol 3.11. It is working perfect when I use command "smbclient -e -m SMB3_11 //192.168.1.1/share -U hranislav" but when I use command smbclient -e -m SMB3_11 -L //192.168.1.1/share -U hranislav it fails. Note the difference in "-L" directive (I wish to see which services are on server). I get this: Reconnecting with SMB1 for workgroup listing.
Connecting to 192.168.1.1 at port 139
do_connect: Connection to 192.168.1.1 failed (Error NT_STATUS_CONNECTION_REFUSED)
Seems like client is trying to get list with SMB1 protocol but SMB2 in minimum required on server. Please look in entire debug in attached txt file...

Hranislav Milenkovic
+381 (0)65 2026199

Sent with [ProtonMail](https://protonmail.com) Secure Email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20201212/5f0d502c/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debug.txt
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20201212/5f0d502c/attachment.txt>


More information about the Pkg-samba-maint mailing list