The alternative way is to use a credentials file
In yout mount options add something like "credentials=/etc/samba/mypass" instead of username and password
Then put in your user/pass in /etc/samba/mypass using the following format:
Code:
username = yourusername
password = yourpass
This is a little bit safer then putting passwords directly in /etc/fstab which is usually publicly readable, and of course you'll need to properly protect /etc/samba/mypass file.