From owner-freebsd-questions@freebsd.org Thu Sep 28 17:08:15 2017 Return-Path: Delivered-To: freebsd-questions@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 0FF65E0402E; Thu, 28 Sep 2017 17:08:15 +0000 (UTC) (envelope-from freebsd@erwanlegrand.com) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:c:538::195]) (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 CDD316651B; Thu, 28 Sep 2017 17:08:14 +0000 (UTC) (envelope-from freebsd@erwanlegrand.com) X-Originating-IP: 74.125.83.41 Received: from mail-pg0-f41.google.com (mail-pg0-f41.google.com [74.125.83.41]) (Authenticated sender: moi@erwan.legrand.name) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id A60D7A80DB; Thu, 28 Sep 2017 19:08:11 +0200 (CEST) Received: by mail-pg0-f41.google.com with SMTP id b11so1268630pgn.12; Thu, 28 Sep 2017 10:08:11 -0700 (PDT) X-Gm-Message-State: AHPjjUjvVnO0s+OJYw0A6kUMbTuvp/cjtdPU11PWNsT6AyVew+4bIW+b pTcmiYiZkU9h9jXE3H/5iHuKUBDshyhqZC1Vkvg= X-Google-Smtp-Source: AOwi7QCnYJDA9kDGiyHZ+Q9iwWzuHDtyehwaQxbHPGueureLjh8Qq4xJwTpA5SsqQ1rR/n05J4bhAFw8ukd25EyfebI= X-Received: by 10.159.244.9 with SMTP id x9mr4499848plr.34.1506618485129; Thu, 28 Sep 2017 10:08:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.163.3 with HTTP; Thu, 28 Sep 2017 10:08:04 -0700 (PDT) In-Reply-To: References: <20170927100635.7b56f8fd@Papi.lobos> From: Erwan Legrand Date: Thu, 28 Sep 2017 19:08:04 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: mount_smbfs question (re-post) To: Mario Lobo Cc: freebsd-fs@freebsd.org, FreeBSD questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2017 17:08:15 -0000 On Thu, Sep 28, 2017 at 4:16 PM, Mario Lobo wrote: > 2017-09-27 11:20 GMT-03:00 Erwan Legrand : >> On Wed, Sep 27, 2017 at 3:06 PM, Mario Lobo wrote: >> > Since my environment is tottaly surrounded with shares that no longer >> > accept SMBv1 (Windows, Linux AND FreeBSD servers), so basically in the >> > end, what I'm really looking for is a confirmation that I'll just have >> > to dump all Freebsd samba clients because the OS can't deal with SMBv2 >> > or above. >> >> Perhaps have a look at implementations of SMB on top of FUSE? >> >> http://portsmon.freebsd.org/portoverview.py?category=sysutils&portname=fusefs-smbnetfs > > I did. Same problem. > smbnetfs only works with SMBv1 > It is based on libsmbclient, thus it should support SMB2 if smb.conf allows it. According to the following thread, the client protocol is resticted to SMB1 by default: https://lists.samba.org/archive/samba-technical/2016-November/thread.html#116999 This might be fixed by setting "client max protocol = SMB2" in smb.conf. ($HOME/.smb/smb.conf in this case?)