Date: Fri, 19 Oct 2007 09:35:22 +0200 From: Simon Barner <barner@FreeBSD.org> To: Craig Rodrigues <rodrigc@crodrigues.org> Cc: Tom Evans <tevans.uk@googlemail.com>, freebsd-current@freebsd.org Subject: Re: Difficulties with samba usernames with spaces + patch Message-ID: <20071019073522.GA1499@dose.local.invalid> In-Reply-To: <20071019034224.GA1167@crodrigues.org> References: <1191507549.1475.69.camel@localhost> <20071019034224.GA1167@crodrigues.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071019073522.GA1499>