Mounting Samba Shares

Pietro Cerutti pietro.cerutti at gmail.com
Wed Mar 9 14:27:21 PST 2005


On Wed, 09 Mar 2005 20:51:46 +0000, Mick Walker <mwalker at codegurus.org> wrote:
> Hello all,
> 
> [mwalker at 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 at 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 at gmail.com>
<piter at 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?"


More information about the freebsd-questions mailing list