Mounting smbfs as user?

Krassimir Slavchev krassi at bulinfo.net
Thu Oct 18 07:17:45 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Ivan Voras wrote:
> Hi,
> 
> I'm trying to implement smbfs mounting by regular non-root users and I
> can't make any progress. vfs.usermount is set to 1.
> 
> When I try mounting a remote file system, this is what I get:
> 
>> mount_smbfs -I server //user at server/pre mt
> Warning: no cfg file(s) found.
> mount_smbfs: can not setup kernel iconv table (ISO8859-1:tolower):
> syserr = Operation not permitted
> 
> The same command works under root, and the appropriate klds are loaded:

Only superuser can load modules. If you try to load module by regular
user you will get: kldload: can't load xxxx.ko: Operation not permitted

> 
>> kldstat
> Id Refs Address    Size     Name
>  1   15 0xc0400000 6d599c   kernel
>  2    1 0xc0ad6000 169fc    geom_raid3.ko
>  3    1 0xc0aed000 2464     accf_http.ko
>  4    1 0xc0af0000 653f4    acpi.ko
>  5    1 0xc0b56000 972c     dummynet.ko
>  6    1 0xc0b60000 23c64    smbfs.ko
>  7    3 0xc0b84000 49f4     libiconv.ko
>  8    3 0xc0b89000 2c2c     libmchain.ko
>  9    1 0xc5107000 4000     nullfs.ko
> 10    1 0xc5165000 1a000    linux.ko
> 
> Any ideas?
> 
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
> 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHF2sDxJBWvpalMpkRAkoDAJ4vnIc8qx7cxdtBvirv/5y5E+UTPwCfTIlG
oYuiOLhWpiX198tgfOSBrsE=
=uth8
-----END PGP SIGNATURE-----


More information about the freebsd-stable mailing list