From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 20:39:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 892E5106566B for ; Thu, 25 Nov 2010 20:39:33 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 13B118FC0A for ; Thu, 25 Nov 2010 20:39:32 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PLibL-000451-Ot for freebsd-questions@freebsd.org; Thu, 25 Nov 2010 21:39:31 +0100 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Nov 2010 21:39:31 +0100 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Nov 2010 21:39:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Thu, 25 Nov 2010 15:41:27 -0500 Lines: 41 Message-ID: References: <4CEEB18D.5000307@speakeasy.net> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: Samba Access Like Windows Explorer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2010 20:39:33 -0000 Jason C. Wells wrote: > Is it possible to access samba shares much like windows explorer does? > > The ultimate solution would be UNC names with browsing. I would very > much like to have my freebsd client see the network namespace in as > similar fashion to windows as possible. > > I also would like to avoid having to duplicate the hierarchy of mount > points (for mount_smbfs) on every freebsd client in order to achieve > this. Nautilus access the samba shares this way, but I want this work > on the command line. Plus I prefer Thunar, which doesn't do samba > access at all. > > As it stands, I think I will have to mount all samba shares on a freebsd > client into a top level directory named for the server name, with mount > points sprinkled about. > There two ways. I do it in Dolphin on KDE all the time. KDE has a kio_slave for smb:/ - that is it looks like this in the address bar: smb://testbed.test.zip/web/ <- where the /web is a share This is a GUI'fied way of hiding the CLI smbclient. It can be bookmarked, as well as made into icons in the left side of Dolphin for easy clicking. Smbclient works just fine from a command prompt as well. The other way is to mount shares as file systems. This can be done with entries in fstab and an nsmb.conf file. If you were to pursue this route know that the workgroup/server/share info should be all Upper Case. Such is displayed in the example nsmb.conf but it isn't immediately apparent that upper case _must_ be used. Otherwise you end up chasing your tail wondering why it won't connect/mount. Me I used to do mounts in fstab, but lately just use the kio_slave and smbclient approach because it does what I need. -Mike