Now it's time for the actual configuration of Samba. In the /etc/samba directory you will see the file smb.conf. Edit the contents of this file so they look like:
[global]
netbios name = NETBIOS NAME
workgroup = WORKGROUP NAME
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
interfaces = 192.168.1.1/8
[SHARED DIRECTORY]
COMMENT
path = PATH_TO_SHARED_DIRECTORY
writeable = yes
create mode = 0600
directory mode = 0700
locking = yes
Notice everything in caps, these are the items of the configuration file that will need to be specific to your network/needs. Also notice the "interfaces" entry. If your network uses a different IP address scheme make your changes here.
Once you have the configuration in place, save the file, and restart samba.