[Samba] Trouble mounting Win2000 directory on RedHat Linux

Urban Widmark urban at teststation.com
Wed Dec 18 22:14:01 GMT 2002


On Sun, 8 Dec 2002, Jason Rizer wrote:

> mount -t smbfs -o username=jrizer/MyDomain
> //MyMachine/projects /mnt/MyMachine
> 
> Now when I issue this command I get the following
> error:
> 
> 1729: tree connect failed: ERRDOS - Errnosuchshare
> (You specified an invalid share name)
> 
> It seems that it can't locate the projects directory.

No, it's not the directory it can't locate, it's the share. Check if you 
can see it with smbclient -L or something.


> If instead I replace //MyMachine/projects with
> //MyMachine/c$ and replace jrizer with Administrator
> I'm able to mount my c drive but only
> certain subdirectories are present in the mount.
> 
> For example 'ls -l /mnt/MyMachine' only displays
> certain of the subdirectories which actually exist. 

Did someone move the machines around? (IP-wise)
Almost sounds like you are connecting to the wrong machine ...

There are known smbfs/win2k bugs regarding file listings, but those are 
more sporadic (win2k sometimes skips files from the list it returns).

/Urban




More information about the samba mailing list