From owner-freebsd-current@freebsd.org Tue Mar 8 13:19:31 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1561AAC7D39 for ; Tue, 8 Mar 2016 13:19:31 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CF78E63F; Tue, 8 Mar 2016 13:19:30 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id B835128452; Tue, 8 Mar 2016 14:19:21 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 11EBA28450; Tue, 8 Mar 2016 14:19:16 +0100 (CET) Message-ID: <56DED153.1050700@quip.cz> Date: Tue, 08 Mar 2016 14:19:15 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: "O. Hartmann" CC: Edward Tomasz Napiera?a , freebsd-current Subject: Re: mount_smbfs(8): support for SMBv3.02? References: <20160303104721.097ae352@freyja.zeit4.iv.bundesimmobilien.de> <20160308095525.GA1872@brick.home> <20160308135344.75e06913@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: <20160308135344.75e06913@freyja.zeit4.iv.bundesimmobilien.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2016 13:19:31 -0000 O. Hartmann wrote on 03/08/2016 13:53: > On Tue, 8 Mar 2016 10:55:25 +0100 > Edward Tomasz NapieraƂa wrote: > >> On 0303T1047, O. Hartmann wrote: >>> Does FreeBSD's mount_smbfs(8) support for Microsoft's SMBv3 protocol >>> introduced with Windows 8 and Windows Server 2012/R2? >> >> No, it only supports the obsolete SMB1 (aka CIFS) protocol. Since SMB2 >> is a completely different protocol, supporting it properly pretty much >> requires implementing it from scratch. SMB3 is one of the SMB2 revisions >> and thus is backward compatible with SMB2. >> > [...] > > Thank you very much for this clearification. This explains much strange > behaviour I faced. > > Do you see any chance that this gets fixed in a forseable time? Linux seems to > support SMBv3 by now. Or is a support considered obsolete and handled > via /net/samba43? I am not a FreeBSD expert but I am using mount_smbfs - with some troubles for a long time. The code base is really old and not well maintained. There are/were many problems with charset conversions etc. And there is no mount_smbfs in net/sambaXY packages AFAIK (smbclient is not an option in our environment were we need to access SMB mounted files from 3rd party PHP web applications) It would be really nice if somebody can bring better support for FreeBSD's SMB/CIFS mount. Maybe through FreeBSD Foundation projects. > For a security appliance, I try to avoid as much packages as possible, so > therefore my concerns regarding mount_smbfs. I can use packages but there is none with mount ability of SMB/CIFS or I don't know about it. Miroslav Lachman