how to access window network- further info

akonstam at trinity.edu akonstam at trinity.edu
Thu Feb 17 18:44:36 UTC 2005


On Thu, Feb 17, 2005 at 11:31:41AM -0600, akonstam at trinity.edu wrote:
> On Thu, Feb 17, 2005 at 08:06:08AM -0800, Glenn Story wrote:
> > 1.  Add an entry such as the following to /etc/fstab:
> > 
> > //servername/dir   /some/local/dir   smbfs   noauto,user
> > 
> > 2.  Execute the following command
> > 
> > mkdir -p /some/local/dir
> > 
> > Now whenever you want to mount this file system issue the command
> > 
> > mount /some/local/dir
> > 
> > The "user" attribue in the fstab entry will permit you to execute this
> > command from a non-root account.
> > 
> > You will be prompted for your windows username and password.
> > 
> > Of course you should substitute suitable values for servername, dir,
> > some, and local.
> > 
> > -- Glenn
> > 
> So I tried what you suggest above. My line in fstab is:
> //tucc-tiger/users /private  smbfs   noauto,user
> 
> First, smbmnt must be suid root for the mount to work.
> When I do a; mount /private
> the request is for a passwd not a passwd and username. Then I get an
> error: cannot mount on /private: Operation not permitted
> smbmnt failed: 1
> 
> Where have I gone wrong?
> 
Some added information. The mount suceeds if I own the directory
/private. 

=======================================================================
Committees have become so important nowadays that subcommittees have to
be appointed to do the work.
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
One Trinity Place.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam at trinity.edu




More information about the fedora-list mailing list