From: Grant on
On Sat, 17 Jul 2010 13:06:14 +0000 (UTC), root <NoEMail(a)home.org> wrote:

>Grant <omg(a)grrr.id.au> wrote:
>>
>> man smbpasswd?
>>
>> Perhaps use a credentials file too.
>>
>> Grant.
>
>Thanks for responding. Helmut showed me the way:
>mount -t cifs -o username=smbguest,guest //10.0.0.22/public /mnt

Good! You might like to create a credentials file to automate that
mount, or the mount details. For example, an /etc/fstab here has:

//sillywin/music /mnt/music cifs noauto,user,credentials=/usr/local/etc/xsmb
//sillywin/install /mnt/install cifs noauto,user,credentials=/usr/local/etc/xsmb

the credentials file is a simple two liner:

username=your_username
password=your_password

Grant.