Check:
Samba workgroup must be the same with xp workgroup.
Samba user and password must be the same with xp user.

Tutorial:
http://www.samba.netfirms.com/sambconf.htm