Possibly Silly Samba Configuration Question

Nicolas Galler beanie at gryphonmud.com
Fri Jun 13 01:58:21 PDT 2003


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


More information about the freebsd-questions mailing list