RE: Mount command...again

2003-06-09 Thread John DeStefano
::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).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mount command...again

2003-06-09 Thread Bruce Cran
On Thu, Jun 05, 2003 at 02:45:04PM -0800, [EMAIL PROTECTED] 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=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 [EMAIL PROTECTED]
 

Have you tried

mount_smbfs -u uid -g gid //loginname@sambaserver/share /mountpoint

where uid and gid is the user/group whom you want the files to be accessible
by.   This works on my -current system.

--
Bruce Cran
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mount command...again

2003-06-06 Thread yussef
this isnt a a direct solution, but have you considered using nfs
instead? it seems to be the better tool between unix systems.

yussef

On Thu, 05
Jun 2003 14:45:04-0800(AKDT) [EMAIL PROTECTED] 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=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 [EMAIL PROTECTED]
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]