This is similar to a previous post from someone wanting to control Web access at a school. I had googled and found this how-to:
http://www.cecea.org/jojo/cleanweb/
If you have Swat installed, this will also install the publication "Samba 3 by Example" on your computer, which contain several real world working examples. You access swat through your web browser: http:/localhost:901/ or directly from the local file:
/usr/share/doc/packages/samba/htmldocs/Samba-Guide/index.html
The package with the samba documentation may be called "samba-doc".
It may also be available at the
http://www.tldp.org website.
http://www.ecea.org/jojo/cleanweb/