Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Mar 2005 22:27:20 +0000
From:      Pietro Cerutti <pietro.cerutti@gmail.com>
To:        Mick Walker <mwalker@codegurus.org>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Mounting Samba Shares
Message-ID:  <e572718c050309142734f1c47f@mail.gmail.com>
In-Reply-To: <1110401506.800.5.camel@laptop.codegurus.org>
References:  <1110401506.800.5.camel@laptop.codegurus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 09 Mar 2005 20:51:46 +0000, Mick Walker <mwalker@codegurus.org> wrote:
> Hello all,
> 
> [mwalker@laptop]$ mount -t smbfs //server/mwalker /home/mwalker/mount
> Warning: no cfg file(s) found.
> smbfs: can not setup kernel iconv table (default:tolower): syserr =
> Operation not permitted
> [mwalker@laptop]$
> 
> I have vfs.usermount=1 set in my /etc/sysctl.conf and all usernames are
> the same on both systems so it isn't a authentication issue.

You must be root to run mount_smbfs.
you can set SET_UID and SET_GID bits at mount_smbfs.
It is not secure, but it works. 

-- 
Pietro "Piter" Cerutti
<pietro.cerutti@gmail.com>
<piter@beansidhe.ch>

Beansidhe - SwiSS Death / Thrash Metal
<www.beansidhe.ch>

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e572718c050309142734f1c47f>