My current windows password ends in a backslash. I use mount -o credentials=samba-pass and smbclient -A samba-pass to get my credentials without exposing them to the world. It seems that when using smbclient the password needs to end with two backslashes, presumably to escape one, however with smbmount the password needs to end with one backslash. It seems you've got two different parse routines going on here. Could you please fix this?
this is how the unix shell works. not a samba bug.