smbclient ./. Dolphin

Matthias Apitz guru at unixarea.de
Tue Sep 17 10:08:49 UTC 2019


El día Tuesday, September 17, 2019 a las 09:07:14AM +0000, Ricardo Fraile escribió:

> El lun, 16-09-2019 a las 11:13 +0200, Matthias Apitz escribió:
> > Hello,
> > 
> > At work I have to access from my virtual machine running FreeBSD the
> > files system of the Windows 7 host (please, be patient and don't
> > blame
> > me). For this I mostly use smbclient like:
> > 
> > $ smbclient //APITZM-LTOH/apitzm -A ~/.smbpw -I 10.49.8.55 -m SMB2
> > Unknown parameter encountered: "display charset"
> > Ignoring unknown parameter "display charset"
> > Domain=[XXXXXXX] OS=[] Server=[]
> > smb: \>
> > 
> > which works just fine.
> > 
> > I tried to use the same configuration in Dolphin of KDE4, but this
> > just
> > hangs. I used TCPDUMP to understand, what could be the problem.

Because Adrian asked, this is with Dolphin of KDE4 from ports of March
2017. But, that's not working must be something fundamental stupid I'm
doing because it's only doing the three-way-handshake on TCP/IP and
nothing else. See below.

> > Here is smbclient:
> > 
> > 09:46:12.686328 IP 10.0.2.15.24162 > 10.49.8.55.445: Flags [S], seq
> > 1278231313, win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val
> > 51304411 ecr 0], length 0
> > 09:46:12.688274 IP 10.49.8.55.445 > 10.0.2.15.24162: Flags [S.], seq
> > 1141201409, ack 1278231314, win 65535, options [mss 1460], length 0
> > 09:46:12.688292 IP 10.0.2.15.24162 > 10.49.8.55.445: Flags [.], ack
> > 1, win 65535, length 0
> > 09:46:12.688548 IP 10.0.2.15.24162 > 10.49.8.55.445: Flags [P.], seq
> > 1:217, ack 1, win 65535, length 216 SMB PACKET: SMBnegprot (REQUEST)
> > ...
> > 
> > and this is Dolphin:
> > 
> > 11:10:40.579506 IP 10.0.2.15.23810 > 10.49.8.55.445: Flags [S], seq
> > 1055509186, win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val
> > 56372363 ecr 0], length 0
> > 11:10:40.581858 IP 10.49.8.55.445 > 10.0.2.15.23810: Flags [S.], seq
> > 1678033409, ack 1055509187, win 65535, options [mss 1460], length 0
> > 11:10:40.581878 IP 10.0.2.15.23810 > 10.49.8.55.445: Flags [.], ack
> > 1, win 65535, length 0
> > 
> > i.e. after the SYN-SYN-ACK no more traffic. 
> > 
> > What could I do wrong?
> > 
> > 	matthias
> 
> You are lucky if you get a working solution. FreeBSD haven't support to
> SMBv3

That's why I'm using for smbclient the option '-m SMB2'. The Dolphin
does not offer anything to configure this at all.

But, as only the SYN-SYN-ACK is done, this at this point is not the
problem because the SYN-SYN-ACK does not allow to set/ask for the SMB
version.

	matthias
-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


More information about the freebsd-questions mailing list