Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba server causing ERRnosuchshare on random shares
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Dr. Frankenbox
Apprentice
Apprentice


Joined: 16 Jul 2005
Posts: 171
Location: Iowa, USA

PostPosted: Mon Sep 19, 2005 4:08 am    Post subject: Samba server causing ERRnosuchshare on random shares Reply with quote

I have been using samba on multiple Linux boxes for some time now, but an error has developed on one of my computers that I just can't figure out. I have three folders shared on this computer. All three show up just fine when I browse to the computer in Network Neighborhood or use smbclient -L. One of them also works perfectly, but trying to mount the others results in an ERRnosuchshare ("the network path cannot be found" in windows). I have no idea what might be screwing up those two that would leave the other alone.

My smb.conf (excluding workgroup and server string settings):
Code:
[global]

   message command = /usr/bin/linpopup "%f" "%m" %s; rm %s

   hosts allow = 192.168.,169.254.,129.93.
   security = share
   unix password sync = yes

   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   interfaces = lo eth0 eth1
   remote browse sync = 192.168.,169.254.,129.93.
   remote announce = 192.168.,169.254.,129.93.
   local master = no

   preserve case = no
   short preserve case = no
   default case = lower
   case sensitive = no

[downloads]
   comment = Downloads, etc.
   path = "/mnt/windows/downloads, etc./"
   public = yes
   writable = no

[media]
   comment = Pictures and Videos
   path = /mnt/windows/media
   public = yes
   writable = no

[public]
   comment = Public Folder
   path = /home/luke/Desktop/Shared
   public = yes
   writable = yes
Back to top
View user's profile Send private message
aceFruchtsaft
Guru
Guru


Joined: 16 May 2004
Posts: 438
Location: Vienna, Austria

PostPosted: Tue Sep 20, 2005 11:56 am    Post subject: Reply with quote

Have a look at the Network Browsing Chapter in the Samba HOWTO at samba.org.

Your browsing configuration looks pretty weird, since if you use the remote browse sync parameter your Samba server has to be the local master browser (LMB)!
Additionally, I think that valid arguments to remote browse sync and remote announce either have to be IPs of remote LMBs or a broadcast adress of the remote network....
Also consider using WINS instead of simple NETBIOS name resolution.
Back to top
View user's profile Send private message
Dr. Frankenbox
Apprentice
Apprentice


Joined: 16 Jul 2005
Posts: 171
Location: Iowa, USA

PostPosted: Mon Sep 26, 2005 8:47 pm    Post subject: Reply with quote

Nothing I can find in that documentation seems to be helping. I've changed my configuration to this:

Code:
[global]
   message command = /usr/bin/linpopup "%f" "%m" %s; rm %s

   hosts allow = 192.168.,169.254.,129.93.
   security = share
   unix password sync = No

   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   interfaces = eth0 eth1
   local master = no
   domain master = no
   preferred master = no
   domain logons = no
   
   wins support = no
   wins proxy = yes
   
   preserve case = no
   short preserve case = no
   default case = lower
   case sensitive = no

[downloads]
   comment = Downloads, etc.
   path = "/mnt/windows/downloads, etc./"
   public = yes
   writable = no
   
[media]
   comment = Pictures and Videos
   path = /mnt/windows/media
   public = yes
   writable = no

[public]
   comment = Public Folder
   path = /home/luke/Desktop/Shared
   public = yes
   writable = yes


and I'm having the same problems. This really doesn't make sense in light of the fact that my laptop's working fine with this configuration:

Code:
[global]
   message command = /usr/bin/linpopup "%f" "%m" %s; rm %s

   hosts allow = 192.168.,169.254.,129.93.
   security = share
   unix password sync = No

   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   interfaces = eth0 eth1
   local master = no
   preferred master = no
   domain master = no
   domain logons = no
   
   preserve case = no
   short preserve case = no
   default case = lower
   case sensitive = no

wins support = no
[media]
   comment = Pictures and Videos
   path = /home/luke/media
   public = yes
   writable = no
[public]
   comment = Public Folder
   path = /home/luke/Desktop/Shared
   public = yes
   writable = yes
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum