How to configure an open samba share

I’m always battling to expose my linux virtual machines to my windows desktop. Here is a sample smb.conf which completely exposes a directory to a specific IP address:


security = share
hosts deny = ALL
hosts allow = 192.168.1.99

[www]
path = /var/www
available = yes
browsable = yes
public = yes
writable = yes
force user = www-data
guest account = www-data
guest ok = yes

This entry was posted in geek and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>