From owner-freebsd-stable@FreeBSD.ORG Thu Oct 18 14:07:23 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB3AD16A41A for ; Thu, 18 Oct 2007 14:07:23 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 7CBAE13C467 for ; Thu, 18 Oct 2007 14:07:23 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IiW1w-0005cb-EN for freebsd-stable@freebsd.org; Thu, 18 Oct 2007 14:07:20 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Oct 2007 14:07:20 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Oct 2007 14:07:20 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Thu, 18 Oct 2007 16:08:09 +0200 Lines: 28 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.6 (X11/20070801) Sender: news Subject: Mounting smbfs as user? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 14:07:23 -0000 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@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: > 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?