From owner-freebsd-current@FreeBSD.ORG Thu Oct 4 16:45:34 2007 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4823E16A41B for ; Thu, 4 Oct 2007 16:45:34 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 0925213C467 for ; Thu, 4 Oct 2007 16:45:33 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.1/8.14.1) with ESMTP id l94GOqGU003923; Thu, 4 Oct 2007 10:24:52 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.1/8.14.1/Submit) with ESMTP id l94GOq6I003920; Thu, 4 Oct 2007 10:24:52 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 4 Oct 2007 10:24:52 -0600 (MDT) From: Warren Block To: Tom Evans In-Reply-To: <1191507549.1475.69.camel@localhost> Message-ID: <20071004101928.N3843@wonkity.com> References: <1191507549.1475.69.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (wonkity.com [127.0.0.1]); Thu, 04 Oct 2007 10:24:52 -0600 (MDT) Cc: freebsd-current@FreeBSD.org Subject: Re: Difficulties with samba usernames with spaces + patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2007 16:45:34 -0000 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