LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   smb - ERRDOS - ERRnosuchshare (https://www.linuxquestions.org/questions/linux-software-2/smb-errdos-errnosuchshare-86563/)

eduac 08-28-2003 07:58 AM

smb - ERRDOS - ERRnosuchshare
 
guys,

i cant connect to samba server (debian) to mount the share local files in my computer (suse)..i use the follow command:


mount -t smbfs //192.168.66.244/LINUX.4/sistemas/ /windows/winshare

but i get this error message:

2001: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)
SMB connection failed


anyone have idea to find a solution?

Moses420ca 08-28-2003 11:29 AM

you didn't put //windows/share

try using loopback too

mount -t smbfs -o username=user.password=pass //windows/share /mnt/folder

eduac 08-28-2003 11:34 AM

yeap, i create the windows/winshare folder before ...

Moses420ca 08-28-2003 11:43 AM

never mind. My mistake.
try adding the workgroup.

mount -t smbfs -o workgroup=workgroup //fjall/test /data/test

INFO: Debug class all level = 1 (pid 25746 from pid 25746)
Usage: mount.smbfs service mountpoint [-o options,...]
Version 2.2.7a-SuSE

Options:
username=<arg> SMB username
password=<arg> SMB password
credentials=<filename> file with username/password
netbiosname=<arg> source NetBIOS name
uid=<arg> mount uid or username
gid=<arg> mount gid or groupname
port=<arg> remote SMB port number
fmask=<arg> file umask
dmask=<arg> directory umask
debug=<arg> debug level
ip=<arg> destination host or IP address
workgroup=<arg> workgroup on destination
sockopt=<arg> TCP socket options
scope=<arg> NetBIOS scope
iocharset=<arg> Linux charset (iso8859-1, utf8)
codepage=<arg> server codepage (cp850)
ttl=<arg> dircache time to live
guest don't prompt for a password
ro mount read-only
rw mount read-write

This command is designed to be run from within /bin/mount by giving
the option '-t smbfs'. For example:
mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test

voxvox 06-13-2005 11:12 AM

Re: smb - ERRDOS - ERRnosuchshare
 
Quote:

Originally posted by eduac
guys,

i cant connect to samba server (debian) to mount the share local files in my computer (suse)..i use the follow command:


mount -t smbfs //192.168.66.244/LINUX.4/sistemas/ /windows/winshare

but i get this error message:

2001: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)
SMB connection failed


anyone have idea to find a solution?

Hi,
I think you canīt mount share subdirectories directly.
Try something like this:

mount -t smbfs //192.168.66.244/LINUX.4 /windows/winshare

It should work. Be sure that there is no slash on the end of the mounted share! I made this mistake and it made me almost crazy to fix it ;)

Vox

P.S.: I know - a bit out of date, but can be useful for anybody else


All times are GMT -5. The time now is 10:49 PM.