Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2007 10:24:52 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Tom Evans <tevans.uk@googlemail.com>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: Difficulties with samba usernames with spaces + patch
Message-ID:  <20071004101928.N3843@wonkity.com>
In-Reply-To: <1191507549.1475.69.camel@localhost>
References:  <1191507549.1475.69.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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@razor /mnt/it smbfs rw,noauto 0 0

Worth trying:

   //Tom\ Evans@razor /mnt/it smbfs rw,noauto 0 0

-Warren Block * Rapid City, South Dakota USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071004101928.N3843>