Re: Difficulties with samba usernames with spaces + patch

From: Warren Block <wblock_at_wonkity.com>
Date: Thu, 4 Oct 2007 10:24:52 -0600 (MDT)
On Thu, 4 Oct 2007, Tom Evans wrote:

> I'm trying to enter into my fstab an entry to mount a SMB resource, but
> I'm hitting a problem as my provided username has a space in the name.

> This is perfectly fine on the command line, as one can quote the
> required arguments when needed, but it seems impossible in fstab.
> When mounted, mount -p is supposed to output the mounts in fstab(5)
> format, but the output for samba mounts mounted with usernames with
> spaces in does not work correctly.
>
> None of these work:
>
> //razor/it /mnt/it  smbfs rw,noauto,-U="Tom Evans"  0   0
> //Tom Evans_at_razor /mnt/it smbfs rw,noauto 0 0

Worth trying:

   //Tom\ Evans_at_razor /mnt/it smbfs rw,noauto 0 0

-Warren Block * Rapid City, South Dakota USA
Received on Thu Oct 04 2007 - 14:45:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:18 UTC