Date: Fri, 13 Jun 2003 01:58:17 -0700 From: Nicolas Galler <beanie@gryphonmud.com> To: "Scott R." <reverend@sfmidimafia.com> Cc: freebsd-questions@freebsd.org Subject: Re: Possibly Silly Samba Configuration Question Message-ID: <20030613085817.GA15383@anoat.phoenix> In-Reply-To: <000301c3317d$60a38cb0$1800a8c0@reverend> References: <000301c3317d$60a38cb0$1800a8c0@reverend>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 13, 2003 at 12:28:12AM -0700, Scott R. wrote: > [please cc: me in any replies as I'm not currently subscribed to this > list. Thank you.] > > I recently did a clean install of FreeBSD 4.8 on my gateway/firewall > box. Unfortunately, I did not have the foresight to save my old > smb.conf file for Samba before I reinstalled the OS (silly me). I use > Samba to provide one shared folder full of music, movies, etc. to my > internal network at home and previously had it set up to where anyone > inside could browse or write to it (meaning I just "trust everyone" on > my network). I didn't remember this being terribly difficult as this > configuration should be incredibly simple to achieve but I was wrong. > > My current smb.conf looks like this: > > [global] > workgroup = MYWORKGROUP > netbios name = MYGATEWAYBOX > security = SHARE > hosts allow = 192.168.0. > > [Shared] > path = /u1 > read only = No > guest ok = Yes > I believe you need to set the "guest account" parameter to whoever owns the file in /u1 (otherwise, accessing the share thru samba is effectively using the permission of the default guest account, "nobody" or such). Regards Nick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030613085817.GA15383>