"H. Peter Anvin" wrote:
>
>
> You're supposed to be able to backshash-escape the spaces, but I'm not
> really sure if it will work. I'm ALSO not sure that mount.smbfs won't
> mangle the string. Think about a password with a comma in it...
>
backslash-escaped space didn't help.
The line:
mount.smbfs //gw/admin /mnt -o username=admin,password=' grxv5?'
worked well. That's why I was confused about the behavior of autofs.
I tested a password with a comma in it and mount.smbfs failed, while
smbclient //gw/admin ' gr,v5?' -U admin
worked. So it is not only an autofs issue.
I didn't expect many (and that different) restrictions on passwords.
(Maybe some strings are not correctly parsed or handled anywhere ?)
It seems for now I have to live with the facts according to Thomas'
hint.
(and I can ... for now :-)
Nevertheless, thanks to both of you for your attention.
Dirk