I have a 10.04 desktop machine that I use as a NAS. I have 3 shares on that box which I've been attaching to via mounting at startup in my fstab. I don't like the fact that have my user name and password right out in the open in my fstab. Here's how I'm doing this today..
//192.168.0.40/Data /media/NAS-Data smbfs username=my-name,password=my-password@ 0 0
BTW, am no necessarily married to smbfs, but do want a way to have the credentials cached/saved so I don't have to enter them at startup (if doable)...