Hi folks, I'm running 2.2.3a on Solaris 7, with bunch of Win2k and XP clients from several subnets. For the clients that are on the same subnet as the server, everything works fine. But for the clients that are on a subnet different from the server, users are getting "The network path was not found" error when doing: Start->Run...->\\storage\depot or double-clicking on the "storage" icon in "My Network Places" Users ARE able to get to the share with no errors, however, if they use IP or fully qualified domain name (\\storage.jni.com\depot) of the server instead. What am I missing here? Here's my smb.conf file: [global] workgroup = Software server string = Samba %v netbios name = Storage lock dir = /var/samba/locks log file = /usr/local/admin/logs/samba/smbd-%v-%h log level = 2 load printers = no max log size = 5000 security = user encrypt passwords = yes username map = /usr/local/admin/samba-%v/lib/software/users.map smb passwd file = /usr/local/admin/samba-%v/lib/software/smbpasswd socket options = TCP_NODELAY dns proxy = no max disk size = 30000 deadtime = 15 utmp = yes wins server = 10.137.1.244 domain master = yes local master = yes preferred master = yes os level = yes [depot] comment = Storage for Software group path = /home/depot browseable = yes writable = yes case sensitive = yes force create mode = 0664 force directory mode = 0775 force group = +software valid users = +software public = no printable = no Any help will be appreciated! Regards, Desmond -- JNI Corporation - ASIC Development 45365 Northport Loop West. Fremont, CA 94538-6417 Tel: (510) 360-4751 Fax: (510) 252-0123
This is a question of cross subnet browsing. Read the BROWSING.txt file in docs/textdocs directory in the sources. You need a wins server for cross subnet browsing. I think you have answered your own question, pretty much. Basically, netbios names and DNS names are not always the same. If the clients just have to find the one server, not all the other clients on all the other subnets, just putting the server netbios name and ip in lmhosts on each client might do the trick. Putting the server netbios name on your DNS server also might help. Joel On Mon, Apr 22, 2002 at 04:31:44PM -0700, Desmond Quek wrote:> Hi folks, > > I'm running 2.2.3a on Solaris 7, with bunch of Win2k and XP clients > from several subnets. For the clients that are on the same subnet as > the server, everything works fine. But for the clients that are on a > subnet different from the server, users are getting "The network path > was not found" error when doing: > > Start->Run...->\\storage\depot > > or double-clicking on the "storage" icon in "My Network Places" > > Users ARE able to get to the share with no errors, however, if they use > IP or fully qualified domain name (\\storage.jni.com\depot) of the > server instead. What am I missing here? > > Here's my smb.conf file: > > [global] > workgroup = Software > server string = Samba %v > netbios name = Storage > lock dir = /var/samba/locks > log file = /usr/local/admin/logs/samba/smbd-%v-%h > log level = 2 > load printers = no > max log size = 5000 > security = user > encrypt passwords = yes > username map = /usr/local/admin/samba-%v/lib/software/users.map > smb passwd file = /usr/local/admin/samba-%v/lib/software/smbpasswd > socket options = TCP_NODELAY > dns proxy = no > max disk size = 30000 > deadtime = 15 > utmp = yes > wins server = 10.137.1.244 > domain master = yes > local master = yes > preferred master = yes > os level = yes > [depot] > comment = Storage for Software group > path = /home/depot > browseable = yes > writable = yes > case sensitive = yes > force create mode = 0664 > force directory mode = 0775 > force group = +software > valid users = +software > public = no > printable = no > > Any help will be appreciated! > > > > Regards, > Desmond > -- > > JNI Corporation - ASIC Development > 45365 Northport Loop West. Fremont, CA 94538-6417 > Tel: (510) 360-4751 Fax: (510) 252-0123 > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Hi Joel, Thanks for your tip! Unless I have to, I'd rather prefer not to use lmhosts. I actually had "wins server" and some other global parameters recommended in BROWSING.txt defined in smb.conf. But I'm still having this cross subnet browsing issue. Not sure what am I missing... Desmond -------- Original Message -------- Subject: Re: [Samba] The Network path was not found - Please help Date: Mon, 22 Apr 2002 22:01:18 -0400 From: Joel Hammer <Joel@HammersHome.com> To: Desmond Quek <dquek@jni.com>, samba@lists.samba.org References: <3CC49D60.357CEF96@jni.com> This is a question of cross subnet browsing. Read the BROWSING.txt file in docs/textdocs directory in the sources. You need a wins server for cross subnet browsing. I think you have answered your own question, pretty much. Basically, netbios names and DNS names are not always the same. If the clients just have to find the one server, not all the other clients on all the other subnets, just putting the server netbios name and ip in lmhosts on each client might do the trick. Putting the server netbios name on your DNS server also might help. Joel On Mon, Apr 22, 2002 at 04:31:44PM -0700, Desmond Quek wrote:> Hi folks, > > I'm running 2.2.3a on Solaris 7, with bunch of Win2k and XP clients > from several subnets. For the clients that are on the same subnet as > the server, everything works fine. But for the clients that are on a > subnet different from the server, users are getting "The network path > was not found" error when doing: > > Start->Run...->\\storage\depot > > or double-clicking on the "storage" icon in "My Network Places" > > Users ARE able to get to the share with no errors, however, if they use > IP or fully qualified domain name (\\storage.jni.com\depot) of the > server instead. What am I missing here? > > Here's my smb.conf file: > > [global] > workgroup = Software > server string = Samba %v > netbios name = Storage > lock dir = /var/samba/locks > log file = /usr/local/admin/logs/samba/smbd-%v-%h > log level = 2 > load printers = no > max log size = 5000 > security = user > encrypt passwords = yes > username map = /usr/local/admin/samba-%v/lib/software/users.map > smb passwd file = /usr/local/admin/samba-%v/lib/software/smbpasswd > socket options = TCP_NODELAY > dns proxy = no > max disk size = 30000 > deadtime = 15 > utmp = yes > wins server = 10.137.1.244 > domain master = yes > local master = yes > preferred master = yes > os level = yes > [depot] > comment = Storage for Software group > path = /home/depot > browseable = yes > writable = yes > case sensitive = yes > force create mode = 0664 > force directory mode = 0775 > force group = +software > valid users = +software > public = no > printable = no > > Any help will be appreciated! > > > > Regards, > Desmond > -- > > JNI Corporation - ASIC Development > 45365 Northport Loop West. Fremont, CA 94538-6417 > Tel: (510) 360-4751 Fax: (510) 252-0123 > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Yes, lmhosts helps! Thanks, Desmond -------- Original Message -------- Subject: Re: [Samba] The Network path was not found - Please help Date: Tue, 23 Apr 2002 12:41:03 -0400 From: Joel Hammer <Joel@HammersHome.com> To: Desmond Quek <dquek@jni.com>, samba@lists.samba.org References: <3CC5895C.DD26A0F9@jni.com> Does using lmhosts solve the problem? If so, you should be able to solve the problem with DNS. BTW, we (I) may be confounding ourselves (myself) with terminology. Cross net browsing is not quite the same thing as allowing clients to find your server on a different subnet (I think). The clients aren't really browsing in that case, just being pointed to a particular machine. Joel On Tue, Apr 23, 2002 at 09:18:36AM -0700, Desmond Quek wrote:> Hi Joel, > > Thanks for your tip! Unless I have to, I'd rather prefer not to use > lmhosts. > > I actually had "wins server" and some other global parameters > recommended in BROWSING.txt defined in smb.conf. But I'm still having > this cross subnet browsing issue. Not sure what am I missing... > >
Well, I just added my problem machine to the to the DNS and it finds it. The problem machine was an XP laptop, which was on a differnet subnet. You have to add the netbios name of the problem machine to the DNS. I am not sure which machine can't find which machine in your setup. Samba requires you to set some parameters in smb.conf to use DNS if a wins look fails. Here is part of my named.local. I had to add the last line for ahamm002 because that was the netbios name of the XP machine even though when the XP machine comes onto the network it gets assigned the name laptop by the DHCP server. jhammer.org. 86400 IN SOA hammer2 jlh.hammer2.jhammer.org ( 199802152 28800 7200 604800 86400 ) l=2 86400 IN NS hammer2 l=2 localhost 86400 IN A 127.0.0.1 l=2 jhammer6 86400 IN A 192.168.0.6 hammer7 86400 IN A 192.168.0.7 hammer 86400 IN A 192.168.0.13 subnet 86400 IN A 192.168.1.2 laptop 86400 IN A 192.168.1.3 hammer8 86400 IN A 192.168.0.8 oldelsa 86400 IN A 192.168.0.5 ellen 86400 IN CNAME hammer1 l=2 joel 86400 IN CNAME hammer2 l=2 andrew 86400 IN CNAME hammer7 l=2 helen 86400 IN CNAME hammer3 l=2 elsa 86400 IN CNAME subnet l=2 andy 86400 IN CNAME laptop l=2 ahamm002 86440 IN CNAME laptop Joel On Thu, Apr 25, 2002 at 10:02:42AM +0800, Daniel Tan wrote:> hi, i encounter the same problem on certain machines...i have DNSenabled pointing it to my DNS server in win95 version b but it doesn't seems to understand it...i need 2 manually add the hostname to bind to the ip address in lmhosts...i hate that...is there any other way to solve this issue? my DNS is serving all other workstations fine....> the one not working is on a 10.0 network and my internet network is 192.168...routing works fine.... > > ----- Original Message ----- > From: "Joel Hammer" <Joel@HammersHome.com> > To: "Desmond Quek" <dquek@jni.com>; <samba@lists.samba.org> > Sent: Wednesday, April 24, 2002 12:41 AM > Subject: Re: [Samba] The Network path was not found - Please help > > > > Does using lmhosts solve the problem? If so, you should be able to solve the > > problem with DNS. > > > > BTW, we (I) may be confounding ourselves (myself) with terminology. > > Cross net browsing is not quite the same thing as allowing clients to > > find your server on a different subnet (I think). The clients aren't > > really browsing in that case, just being pointed to a particular machine. > > > > Joel > > > > On Tue, Apr 23, 2002 at 09:18:36AM -0700, Desmond Quek wrote: > > > Hi Joel, > > > > > > Thanks for your tip! Unless I have to, I'd rather prefer not to use > > > lmhosts. > > > > > > I actually had "wins server" and some other global parameters > > > recommended in BROWSING.txt defined in smb.conf. But I'm still having > > > this cross subnet browsing issue. Not sure what am I missing... > > > > > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba