From owner-freebsd-questions@FreeBSD.ORG Mon Jun 9 06:29:31 2003 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 4F3CB37B401 for ; Mon, 9 Jun 2003 06:29:31 -0700 (PDT) Received: from web40601.mail.yahoo.com (web40601.mail.yahoo.com [66.218.78.138]) by mx1.FreeBSD.org (Postfix) with SMTP id 9790243F3F for ; Mon, 9 Jun 2003 06:29:26 -0700 (PDT) (envelope-from deesto@yahoo.com) Message-ID: <20030609132926.26079.qmail@web40601.mail.yahoo.com> Received: from [143.48.14.233] by web40601.mail.yahoo.com via HTTP; Mon, 09 Jun 2003 06:29:26 PDT Date: Mon, 9 Jun 2003 06:29:26 -0700 (PDT) From: John DeStefano To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: RE: Mount command...again X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 13:29:31 -0000 ::bump:: Has anyone got a suggestion for this? I've also tried to do this in the same manner (a la Linux) and been equally as frustrated. "man mount" describes lots of options for the command, but it does not go into all of the "-o" options, which are (apparently) what we're looking for here. Thanks. Jon Reynolds wrote: > Ok, here is what I am trying to do. I am trying to mount a > samba served > directory on a remote system onto my local system. Both > servers are > running freebsd4.8. I want to mount the remote directory with > the > priveliges of the remote owner of the directory onto my local > system. > > In Linux I can do it this way: > mount -t smbfs -o username=,password=, > uid=jonr,gid=jonr //sambaserver/ /path/to/mount/point > > This will send my username and password then mount the share > with the > remote users uid and gid. > > Is there a way to do this on FreeBSD? I have been reading the > man pages > for mount and mount_smbfs and can't find out how to do this. > -- > Jon Reynolds --------------------------------- Do you Yahoo!? Free online calendar with sync to Outlook(TM).