On Mon, 2002-05-06 at 19:55, [EMAIL PROTECTED] wrote:
> Good afternoon.  This is my first post to this list.  Are there archives for
> this list someplace?  I couldn't find any.
> 
> I am using autofs to mount smbfs shares.  This works fine as long as there is
> no whitespace in the smb host name.  The following command (not using autofs)
> works:
> 
>         mount -t smbfs '//WINBLOWS 98/C' /mnt/tmp
> 
> but it appears that there's no way to generate this with autofs (at least
> using a "program" map as I require) because the parse_mount() function uses
> skipspace() and chunk_len() to determine "what" to be mounted, and these
> functions do not allow for escaping whitespace in any way.  The debug output
> shows "core of entry: WINBLOWS " (i.e. it's missing the second word); thus the
> mount fails.
> 
> I'm using 3.1.6 which is installed by Redhat 7.1, although I'm looking at the
> source code for 3.1.7.
> 
> Has anyone worked on patches to allow mounting of shares with embedded
> whitespace?  (In fact, SMB allows for *leading* whitespace; that's just
> plain nasty.  Right now, I'd settle for embedded whitespace handling. :-)
> 
> Thanks!
> 
> Derrell
> 
Hi Derrell,

pls report this to SicroMoft. Whitespaces are per standard FORBIDDEN in
hostnames.

Regards
Frank


Reply via email to