Properly mounting a windows share

Hi! I have a windows share that I have set up in fstab, but I keep having issues accessing it. I periodically get a message saying:

“Please enter the username and password for “workgroup” on here”

When I enter the password to the windows share, I do have access to open files, but in some siutations, I am unable to save the files or to attach to emails. The line in my fstab file says the following:

// /data cifs auto,user,username=xxxxxxx,password=xxxxxxx 0 0

The windows share works flawlessly from windows computers with the same username and password. I would like to get it working the same way under Suse 11.1. Thanks!

Please check here:

Linux HOWTOs and Tutorials: Suse Linux 10.0, 10.1 openSUSE 10.2, 10.3, 11.0, 11.1

Which windows distro are you using?