Date: Thu, 04 Oct 2007 17:38:00 +0100 From: Tom Evans <tevans.uk@googlemail.com> To: Warren Block <wblock@wonkity.com> Cc: freebsd-current@freebsd.org Subject: Re: Difficulties with samba usernames with spaces + patch Message-ID: <1191515880.1475.80.camel@localhost> In-Reply-To: <20071004101928.N3843@wonkity.com> References: <1191507549.1475.69.camel@localhost> <20071004101928.N3843@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1191515880.1475.80.camel>