From owner-freebsd-questions@FreeBSD.ORG Wed Mar 9 22:27:21 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEF7916A4CE for ; Wed, 9 Mar 2005 22:27:21 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DFEA43D2F for ; Wed, 9 Mar 2005 22:27:21 +0000 (GMT) (envelope-from pietro.cerutti@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so340350rng for ; Wed, 09 Mar 2005 14:27:20 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Pfaw4xgjDYtv/AyCk0CGuK5STDkMLzIVk+jQNIXyxSLAIvnTkXVooB89sJPxR3Sfapquro9e2pKA1kAx7ZTW9zZokx8/ZVdMKVZufNYx+7aPCB5g0nrxmEyXrI1cwdi7p1Xhe16pRiiGTu1VYH1kp36YGg9ud7/mGp0wtPE/Tuc= Received: by 10.38.68.47 with SMTP id q47mr1192399rna; Wed, 09 Mar 2005 14:27:20 -0800 (PST) Received: by 10.38.13.78 with HTTP; Wed, 9 Mar 2005 14:27:20 -0800 (PST) Message-ID: Date: Wed, 9 Mar 2005 22:27:20 +0000 From: Pietro Cerutti To: Mick Walker In-Reply-To: <1110401506.800.5.camel@laptop.codegurus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1110401506.800.5.camel@laptop.codegurus.org> cc: FreeBSD Subject: Re: Mounting Samba Shares X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pietro Cerutti List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 22:27:21 -0000 On Wed, 09 Mar 2005 20:51:46 +0000, Mick Walker 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 Beansidhe - SwiSS Death / Thrash Metal Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming or what?"