Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jun 2003 14:45:04 -0800 (AKDT)
From:      jonr@destar.net
To:        freebsd-questions@freebsd.org
Subject:   Mount command...again
Message-ID:  <33423.24.237.6.229.1054853104.squirrel@www.destar.net>

next in thread | raw e-mail | index | archive | help
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=<loginname>,password=<passwdtoshare>,
uid=jonr,gid=jonr //sambaserver/<share> /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 <jonr@destar.net>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33423.24.237.6.229.1054853104.squirrel>