You don't need much time on samba, just reference the following smb.conf.
But please remember some commands:
1) useradd username -s /sbin/nologin
2)smbpasswd -a username
3)chown and chmod
4)use "net use" and "smbclient" to test
[global]
workgroup = WORKGROUP
server string = %h server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
username map = /etc/samba/smbusers
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
browsable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[share]
comment = Share for everyone
path = /home/samba/share
force user = nobody
force group = nogroup
read only = No
create mask = 0700
directory mask = 0700
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S,marco
create mode = 0664
directory mode = 0775
Veto files = /*.exe/*.com/*.dll/*.bat/
[group]
comment = For group
path = /home/samba/rd
force user = nobody
force group = nogroup
public = no
valid users = @rd,marco
write list = @rd,marco
browseable = no
create mode = 0660
directory mode = 0770
Veto files = /*.exe/*.com/*.dll/*.bat/