From owner-freebsd-current@FreeBSD.ORG Thu Oct 4 16:38:06 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 D49ED16A4A5 for ; Thu, 4 Oct 2007 16:38:06 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by mx1.freebsd.org (Postfix) with ESMTP id 6705013C467 for ; Thu, 4 Oct 2007 16:38:05 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by fk-out-0910.google.com with SMTP id b27so230661fka for ; Thu, 04 Oct 2007 09:38:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; bh=EA2UCY/ErwtwAgzxqQWYm9Pe6gAXwL9KTasHAHWVfdw=; b=kjZYmsORquxsdKRKh79QpxW1B1lTDsHjpilonuEBY5gBa3YuiY71oFplS4wE6AvFDx27xBv4WVCy4qQPdrEdINFSdTbPuhlU+cjDUPJdtSuadTSQIojBx/+hKdG4l2KXBWYBGwF1GU2DyDFBckYcMLwUQ8sZDE38JGYM2P3C8xQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=XdzHqMM5eupyPsZoZKsEMf5PMrpx8ehUosZjo0j4cfYu5mwazmJd0VciB/YFWMvzWjDlSRB1zQlpvIonwVfiCFaVyH7YqVMoWVPn/7R/vOPs0MXlMkiVRJjrD7SIdvWKhlphUr1tujhePcyncr1/gsTKMiqTVkvmmx1sae0mhnI= Received: by 10.82.106.14 with SMTP id e14mr17018524buc.1191515884042; Thu, 04 Oct 2007 09:38:04 -0700 (PDT) Received: from ?127.0.0.1? ( [217.206.187.79]) by mx.google.com with ESMTPS id c4sm1466751nfi.2007.10.04.09.38.01 (version=SSLv3 cipher=RC4-MD5); Thu, 04 Oct 2007 09:38:01 -0700 (PDT) From: Tom Evans To: Warren Block In-Reply-To: <20071004101928.N3843@wonkity.com> References: <1191507549.1475.69.camel@localhost> <20071004101928.N3843@wonkity.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-EKTrhGbodSPDGHI/X4gU" Date: Thu, 04 Oct 2007 17:38:00 +0100 Message-Id: <1191515880.1475.80.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port 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:38:06 -0000 --=-EKTrhGbodSPDGHI/X4gU Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2007-10-04 at 10:24 -0600, Warren Block wrote: > On Thu, 4 Oct 2007, Tom Evans wrote: >=20 > > 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. >=20 > > 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=3D"Tom Evans" 0 0 > > //Tom Evans@razor /mnt/it smbfs rw,noauto 0 0 >=20 > Worth trying: >=20 > //Tom\ Evans@razor /mnt/it smbfs rw,noauto 0 0 >=20 > -Warren Block * Rapid City, South Dakota USA Ack, thought I'd mentioned all the combos I'd tried; no, unfortunately, that doesn't work either. I believe (haven't had a chance to seriously look at any code, only at lunch) that it is parsed solely on whitespace. Thanks anyways Tom --=-EKTrhGbodSPDGHI/X4gU Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHBRbolcRvFfyds/cRAgZ8AKCz4QdpPJoMtyEi4KrXZ4me4ntXGgCgoAnq VggWHDZGncl8NC8FXQYAKUI= =dOLI -----END PGP SIGNATURE----- --=-EKTrhGbodSPDGHI/X4gU--