From nobody Mon May 18 17:11:00 2026 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gK48P1k8Vz6ffrG for ; Mon, 18 May 2026 17:11:17 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (3072 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gK48N56ctz43Rc for ; Mon, 18 May 2026 17:11:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edvax.de; s=s1-ionos; t=1779124267; x=1779729067; i=freebsd@edvax.de; bh=rlAEUQmb1Z58HYWtScfU7as6KEIPLXzrwTqXtECSja4=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:Message-Id:In-Reply-To: References:Reply-To:Mime-Version:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=TQ7wTLkeLuQnAfbIW+wFx8HSMRcl/kjDe8Yh7yH9BMq8YijvVhuePBGs/TpY1Jjc nV3uKmxHhnKGz4wuoQBRMVKYpz7LInhS27izROUrK+l2WfqcfBZ3Ig2SVdf3WICf5 bCyCDZhfZmJ7wgLAnoVWuVcn/E/t5t6enHqocR4x6fQXZefw6ZczaiMlKxygM4LWF sky3m4d4vRMgpSv+LkTZl3oQ2TykonHISXIa8HiI2kewUcOSuE028b36cKvSK7OX0 1xlCpjNYtSH549sMFRmKhb/x1N6Xl/WbM1OrgNGlqOpQWowlGpNvIzhiOyqW2EpcR Qv5OCnHfPu9UMKWinQ== X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from client.hidden.invalid by mrelayeu.kundenserver.de (mreue012 [212.227.15.134]) with ESMTPSA (Nemesis) id 1MmyzH-1x7TW140Jj-00lCPm; Mon, 18 May 2026 19:11:07 +0200 Received: from r56.edvax.de (r56 [10.200.1.11]) (authenticated bits=0) by terra.edvax.de (8.18.1/8.18.1) with ESMTPA id 64IHB5O7001413; Mon, 18 May 2026 19:11:05 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 18 May 2026 19:11:00 +0200 From: Polytropon To: Lucas Rufkahr Cc: freebsd-questions@freebsd.org Subject: Re: Mounting SMBv2 Share Message-Id: <20260518191100.439b389d.freebsd@edvax.de> In-Reply-To: <20260518111503.7000f9aa@freebsd.vlg.garynet.org> References: <20260518100420.2c51b007@freebsd.vlg.garynet.org> <20260518111503.7000f9aa@freebsd.vlg.garynet.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:ZwTYsBdqaJzp3nwRz35sviyPfKWE86poM/xOCLtaGQggHJPInzq QlEOHBRe0kMxYarVLN4Jgj9PgLxJKe/atxrPZl3IjvN/R4c8bPQvt0S3PODgSujyEv4WOEx +IbFLLpGuvJwI4KAOi/8gHGLuVW+Fn9ph+MIPKxziIWpEENyxR9nBQcEUhO4C9lWs09zJ4q NYncJLu9jRRyR1ka2t/6w== X-Spam-Flag: NO U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QR2LAs/polkXA/m90Ha2xLerU+W6TyTG X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Queue-Id: 4gK48N56ctz43Rc X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On Mon, 18 May 2026 11:15:03 -0500, Lucas Rufkahr wrote: > I've managed to get it done. >=20 > I added fusefs to kld_list in /etc/rc.conf > I added myself to the operator group -- Not sure if this was needed > I recompiled GVFS with FUSE support > I then rebooted. >=20 > Thunar and gio now mount my share in $XDG_RUNTIME_DIR/gvfs It should be possible with "on-board means" of FreeBSD, i. e., the support for older versions of CIFS/SMB is quite easy to configure and use: In /etc/nsmb.conf: [default] workgroup=3DYOUR_WORKGROUP_NAME <- adjust this [SERVERNAME] addr=3D123.456.789.10 <- and this [SERVERNAME:USERNAME] <- those password=3DTOPSECRET <- and that where SERVERNAME and USERNAME correspond to the server's name and the username you use to access the share (with the proper password). If no password is provided, mount will ask for it. See "man nsmb.conf" for details. Integrate it in /etc/fstab: //USERNAME@SERVERNAME/SHARENAME /smb/share smbfs rw,noauto 0 0 Add "drive letters" ("//blah.../c$") if absolutely needed. Leave out "noauto" if you want the system to mount the share at startup. If not, mount it like any normal filesystem interactively: # mount /smb/share You can add further options if you like, like "ro" for write protection and "noexec" to prevent execution. If you use this as a non-root user, make sure you have /etc/sysctl.conf to include vfs.usermount=3D1 and your user is in the "operator" group. Also the user needs to own the mount target directory, but you can achive this if you put it in yout $HOME, for example, /home/YOURNAME/smb/blah, and adjust the fstab entry accordingly. Make sure to check the FreeBSD Handbook chapter about SMB / CIFS and its integration. There's also a corresponding FAQ section. This approach makes it much more transparent to you what actually happens, gives you better control of mount targets and options, and will enable you to easily use any program you want. =2D-=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...