<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
Here's the command I use on RH:<BR>
<BR>
smbmount //WindowsServer/share_to_mount /home/users_home/mount_point_dir -o username=username,uid=500,gid=500<BR>
<BR>
The benefit of doing it this way is you can allow each (non-root) user control over which shares they mount. Have them create a mount point directory in their home directory. <BR>
<BR>
You will need to set the sticky bit on  /usr/bin/smbmnt (as root) as well: chmod +s /usr/bin/smbmnt<BR>
<BR>
After that the (non-root) user can run the smbmount command as above.<BR>
<BR>
Cheers,<BR>
Marty<BR>
<BR>
<BR>
On Fri, 2005-06-24 at 10:10 -0700, Clinton Fernandes wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">In linux:</FONT>

<FONT COLOR="#000000">mount -t smbfs -o username=<username> <also any other options here> //<windows</FONT>
<FONT COLOR="#000000">machine name>/<path to mount> /mnt/<mount point></FONT>

<FONT COLOR="#000000">the -o is for options. Usually for windows you'll need to supply a windows</FONT>
<FONT COLOR="#000000">username to gain access to the shared folder. (It'll ask for a password too).</FONT>

<FONT COLOR="#000000">`man mount` should provide other available options.</FONT>

</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>