Whatever you do, typing it in at the command-line, specyfing PASSWD, if your password has a comma in it, it will reject the part after the comma and consider the part after the comma to be an option. I suspect the options parsing is done after the password has been appended or so. mount.smbfs was fine.
I thought that this had been fixed in mount.cifs. The kernel code uses , as a delimiter so this can be input two ways - 1) specifying a different separator (sep= ...) but one that is not used in the password 2) entering each , in the password (at the password prompt) twice.
Fixed in source/client/mount.cifs.c version 1.7 and later. Passwords with multiple commas in them will also require a kernel change to cifs.ko - which will be in kernel 2.6.12 (fix currently in mm, will be in mainline later in the week).
Created attachment 1052 [details] updated cifs mount helper updated cifs mount helper gcc mount.cifs.c -o mount.cifs mount.cifs goes in /sbin typically (backup your original mount.cifs