A little trick:
Configuring the file yourself is VERY much work (especially the reading of man smb.conf) and a bit difficult.
I used SWAT instead, which is a web-interface (like the cups-one, if you know it) frontend that makes a smb.conf file at the right place according to you're wishes. To configure things, you just click on things like in windows.
SWAT is started from inetd or xinetd. In my distro (gentoo) SWAT was installed already with samba, and I easily could install xinetd and start the thing, and run in my browser:
localhost:901.
A website explaining how to use SWAT is at:
http://techrepublic.com.com/5100-6261-1035709.html
Just one of the first I found at google, you could find a better one yourself if this one isn't good enough, just search for "samba swat" and you find many pages.