From owner-freebsd-fs@freebsd.org Fri May 19 01:40:30 2017 Return-Path: Delivered-To: freebsd-fs@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 BFA45D741FC for ; Fri, 19 May 2017 01:40:30 +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 85C7E15A5; Fri, 19 May 2017 01:40:26 +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 73A8D28412; Fri, 19 May 2017 03:40:18 +0200 (CEST) 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 AAC8228411; Fri, 19 May 2017 03:40:17 +0200 (CEST) Subject: Re: smbfs and SMB1 To: Pedro Giffuni , freebsd-fs@freeBSD.org, Bob Eager References: <665caabc-cf2d-7f6a-2187-465907ea6ae7@FreeBSD.org> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <591E4D01.9080600@quip.cz> Date: Fri, 19 May 2017 03:40:17 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <665caabc-cf2d-7f6a-2187-465907ea6ae7@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2017 01:40:30 -0000 Pedro Giffuni wrote on 2017/05/19 01:22: > Hi Bob; > >> I have just disabled SMB1 on some Windows machines on the network. >> >> I find that (as far as I can see) I can no longer mount shares on the >> machines from FreeBSD, using smbfs. >> >> Is it the case that smbfs supports ONLY SMB1? Or is there a workround? >> >> Someone will probably mention Samba. Yes, I use Samba as a server on >> some machines, but the ones in question are clients and do not have >> Samba installed (and I don't quite see how to use it as a transparent >> client anyway). >> >> Help, please! > > Sadly smbfs in contrib/ only supports the old version of the protocol > (SMB1). > > I understand Microsoft recommends disabling SMB1 due to the ransomware > attacks. > > I haven't used samba but indeed that should be the solution. I am not suru but I think Samba does not provide CIFS/SMBFS mount binaries. There is just ftp-like client. FreeBSD is used in networks for filesharing, storage etc. and I feel SMB mount is very vital feature. Miroslav Lachman