Samba Config...

Samba is not that complicated... but there are some pitfalls.

This is a working smb.conf where most shares can be accessed by guest users and some share can only accessed by authenticated users:

https://gist.github.com/2643139

This config is just to share /var/www ... We use this on a virtualbox Linux guest to make things easier for testing.

https://gist.github.com/2643106

None of the above configs is safe or trustworthy in general. These configs just here to have a starting point. No warranty, no nothing. Use it or leave it as it is.