Date: Tue, 13 Apr 2004 16:28:05 +0800 From: leafy <leafy@leafy.idv.tw> To: Tim Robbins <tjr@freebsd.org> Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: /usr/libexec/ld-elf.so.1: mount_smbfs: Undefined symbol "vfsisloadable" Message-ID: <20040413082805.GA2689@chihiro.leafy.idv.tw> In-Reply-To: <20040413082628.GA73839@cat.robbins.dropbear.id.au> References: <20040413055915.GA1423@chihiro.leafy.idv.tw> <Pine.NEB.3.96L.1040413020917.25209C-100000@fledge.watson.org> <20040413061942.GA1705@chihiro.leafy.idv.tw> <20040413071021.GA26454@xor.obsecurity.org> <20040413074732.GA2454@chihiro.leafy.idv.tw> <20040413082628.GA73839@cat.robbins.dropbear.id.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 13, 2004 at 06:26:28PM +1000, Tim Robbins wrote:
> There are quite a number of reasons why non-root users can't mount smbfs
> shares right now; the first of which is kiconv, as you mentioned, but
> there are also problems with the permissions on /dev/nsmb*, suser() checks
> in netsmb, and the credentials mount_smbfs passes in to the kernel which
> get subsequently rejected by netsmb:
> ctx->ct_ssn.ioc_owner = ctx->ct_sh.ioc_owner = 0; /* root */
>
> The easiest way to get non-root mounts working is to enable the
> #ifdef APPLE code in libsmb and mount_smbfs, then make mount_smbfs
> suid root. Whether this is actually any less secure than adding
> proper support for user mounts is debatable.
>
>
> Tim
Can we modify it to behave similarly to mount_cd9660, where when the
mount point is owned and writable by the mounting user, then it is
mountable?
Jiawei
--
"Without the userland, the kernel is useless."
--inspired by The Tao of Programming
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040413082805.GA2689>
