This HOWTO attempts to explain how to configure basic SMB file and print services on a linux machine. Samba is a very complex and complete package. There would be no point in attempting to duplicate all of the documentation for Samba here.
For further information, please see the following documents: