Dirk Maa� wrote:
>
> Thomas Schweikle wrote:
> >
> > Gesendet von: [EMAIL PROTECTED]
> > An: [EMAIL PROTECTED]
> > Kopie:
> > Thema: Re: Wierd problems with smbfs and autofs
> >
> > > My /etc/auto.home contains only the following line:
> > > admin -fstype=smbfs,username=admin,password=' grxv5?' ://gw/admin
> > >
> > > That fails because autofs seem to parse this not as I wished.
> > > The logs say sth like this:
> > > automount[7560]: mount(generic): failed to mount grxv5?' (type smbfs) on
> > > /home/admin
> >
> > Just don't use passwords with spaces inside... :-)
>
> Yes, I know that this would work. ;-)
>
> But should autofs really be that restrictive? I don't think so.
>
> Dirk
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...
--
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt