Re: [SLUG] Mounting an remote share

From: Eben King (eben1@tampabay.rr.com)
Date: Wed Dec 10 2003 - 20:39:06 EST


On Wed, 10 Dec 2003, jason pratt wrote:

> On Sat, 2003-12-06 at 13:53, Eric Jahn wrote:
> > > ok and how is this done a boottime? i'm seeing "mount -t smbfs..." how
> > > is this accomplished for mounting when the machine boots up?
> >
> > here's my currently functioning fstab line to make this work (with names/
> > passwords changed to protect the innocent):
> >
> > //Workserver/SHARED /mnt/shared smbfs
> > username=myboringusername,password=myboringpassword,rw,uid=500 0 0
>
> ok added the following to my fstab:
>
> //orion/drive-j/ /mnt/mp3-1 smbfs
> username=administrator,password=8nbme4,rw,uid=500 0 0
>
> but when i reboot it comes to that part and gives me this error:
>
> "3262: Tree connect failed ERRDOS (Invalid Share Name)
>
> is the share name that it's talking about //orion/drive-j or /mnt/mp3-1?

The share name is the first. The mount point is the second. Maybe it
doesn't like the trailing slash in the share. Do you really need
administrator privileges for this, or would mounting as another user work
fine? See if you can put the username and password into a separate file
readable only by root ("credentials="), instead of out in the open.

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar

Unix is user-friendly; it's just picky about who it makes friends with.

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:34:11 EDT