From owner-freebsd-current@FreeBSD.ORG Fri Oct 19 07:33:53 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 33D3116A419 for ; Fri, 19 Oct 2007 07:33:53 +0000 (UTC) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 9AB9A13C45B for ; Fri, 19 Oct 2007 07:33:52 +0000 (UTC) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 19 Oct 2007 07:33:50 -0000 Received: from ppp-88-217-20-40.dynamic.mnet-online.de (EHLO dose.local.invalid) [88.217.20.40] by mail.gmx.net (mp035) with SMTP; 19 Oct 2007 09:33:50 +0200 X-Authenticated: #147403 X-Provags-ID: V01U2FsdGVkX1+TOd8a1Y2TpZxmVd1scrgFvjXC0BZbfDHk/orkON pIuptDdeYdGtFI Received: by dose.local.invalid (Postfix, from userid 1000) id 590B7C147; Fri, 19 Oct 2007 09:35:22 +0200 (CEST) Date: Fri, 19 Oct 2007 09:35:22 +0200 From: Simon Barner To: Craig Rodrigues Message-ID: <20071019073522.GA1499@dose.local.invalid> References: <1191507549.1475.69.camel@localhost> <20071019034224.GA1167@crodrigues.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <20071019034224.GA1167@crodrigues.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-Y-GMX-Trusted: 0 Cc: Tom Evans , 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: Fri, 19 Oct 2007 07:33:53 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Craig Rodrigues wrote: > On Thu, Oct 04, 2007 at 03:19:09PM +0100, Tom Evans wrote: > > Mounting from the command line works either with correctly quoting the > > host, or using the -U switch, and correctly quoting the argument. > >=20 > > mount_smbfs -U "Tom Evans" //RAZOR/it /mnt/it > > mount_smbfs "//TOM EVANS@RAZOR/IT" /mnt/it > >=20 > > This clearly seems to be a limitation of fstab(5) (inability to quote > > arguments) and/or nsmb.conf(5) (inability to specify username). I am > > going to change one or the other to allow this to work; which would be > > preferable? >=20 >=20 > If you change fstab(5) to accept "quoted arguments", then you > would have to change getfsent() so that it can properly parse an > /etc/fstab with quoted arguments. Then you would have to verify that > clients of getfsent() such as mount(8) and quotacheck(8) still worked. >=20 > If you could get that to work, that would be quite nice. Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dbin/55539 which contains such a patch for getfsent (using vis(3)). It could use some testing though (I never tested it with quotacheck(8) for example). Simon --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHGF45Ckn+/eutqCoRAkzaAKC9gMKZSYfkZ1oszStyHo2DD+ZViQCg2wDv Mspfjgd7Au7qvyOzF4kF3tc= =RN70 -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--