see following are the changes required for perfect use
1) workgroup name in smb.conf file should be same as your windows domain/workgroup name.
2)create some users on linux system using useradd command.
3)create corresponing samba user for your linux users ,
examle if u have created user as "user1" then to create samba user give command as
then specify the password for user1.
also create user on windows machine with same username and password .
if u r not sure about ur iptable setting then stop iptable service.
now log in to windows sytem with username as user1 and access
your linux machine.
All the best