Well, there is only one answer to your question...
RTFM (READ THE F***NG MANUAL) as usually we say.
You must go to all those places where are a LOT of reading about SAMBA, and a LOT of How-To's.
Most of we can help just in specific problems but it isn't a Step by Step guide.
Just use the web, man!.
Regards and keep reading....