From owner-freebsd-questions@freebsd.org Tue Sep 17 10:08:49 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C2683FDB86 for ; Tue, 17 Sep 2019 10:08:49 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from smh-06.1blu.de (smh-06.1blu.de [178.254.0.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46Xf2m5Q1Cz3JrL for ; Tue, 17 Sep 2019 10:08:48 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [172.16.29.5] (helo=sh4-5.1blu.de) by smh-06.1blu.de with esmtp (Exim 4.86_2) (envelope-from ) id 1iAAPX-0008Hl-RZ; Tue, 17 Sep 2019 12:08:40 +0200 Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.86_2) (envelope-from ) id 1iAAPX-001J53-QG; Tue, 17 Sep 2019 12:08:39 +0200 Date: Tue, 17 Sep 2019 12:08:39 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org, "kde-freebsd@kde.org" Subject: Re: smbclient ./. Dolphin Message-ID: <20190917100839.GA308276@sh4-5.1blu.de> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-questions@freebsd.org, "kde-freebsd@kde.org" References: <20190916091316.GA58040@sh4-5.1blu.de> <2a4f0430f7f9060c38f7dad99ae96624baf3a4e9.camel@idealista.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2a4f0430f7f9060c38f7dad99ae96624baf3a4e9.camel@idealista.com> X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 46Xf2m5Q1Cz3JrL X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of guru@unixarea.de has no SPF policy when checking 178.254.0.206) smtp.mailfrom=guru@unixarea.de X-Spamd-Result: default: False [4.06 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; FROM_HAS_DN(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; IP_SCORE(0.55)[ipnet: 178.254.0.0/19(1.52), asn: 42730(1.26), country: DE(-0.01)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.25)[0.248,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.36)[0.359,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_TLS_LAST(0.00)[]; RBL_SENDERSCORE(2.00)[206.0.254.178.bl.score.senderscore.com] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Sep 2019 10:08:49 -0000 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@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!