Claude Jones
2005-Aug-13 02:23 UTC
[Samba] problems with name resolution in a small home network
Pardon me if I don't adhere to list protocol - this is my first post: I have a simple home network with a seemingly intractable problem. I'm pretty new to Samba, though, and I can't help but think the answer, like the purloined letter in Edgar Allan Poe's story, is staring me in the face. Various folks have been helping me over on the Fedora list for 9 days, now, so I thought I'd try this problem here. The networks consists of the following: A linux Fedora Core server running several services, right on the net: It's Samba name is vrproductions2 - it's robustly firewalled but, temporarily, all connections are allowed between the lan and the firewall. This machine is doing dhcp for the lan, and routing. The lan consists of three Windows machines: FHB is not a concern, is running Win98, and is just getting routed to the net. StudioPC is fixed ip 192.168.2.32 and two hard drives are being shared. Julimobile is a laptop that gets its ip from the dhcp server on the Linux box and both of its drives are shared. As currently configured, I get the following: Open a konqueror browser window and enter "smb:/ and I get my 'workgroup' icon; click on that, and I get the three PC's that have shares opened, VRPRODUCTIONS2, STUDYPC, and JULIMOBILE; Click on each of these in turn, and I see the shares; in the case of JULIMOBILE and VRPRODUCTIONS2, clicking on these shares allows me to enter to the root directories of the shares, and then browse all shared folders; clicking on STUDIOPC results in an error. "Internal Error Please send a full bug report at http://bugs.kde.org libsmbclient reported an error, but did not specify what the problem is. This might indicate a severe problem with your network - but also might indicate a problem with libsmbclient. If you want to help us, please provide a tcpdump of the network interface while you try to browse (be aware that it might contain private data, so do not post it if you are unsure about that - you can send it privately to the developers if they ask for it)" On the other hand, if I enter "smb://192.168.2.32" in the konqueror address window, I can get into STUDYPC and browse its folders just fine... STUDYPC is listed in hosts and lmhosts Here is my smb.conf: [global] workgroup=workgroup hosts allow = 192.168.2., 127. local master=yes domain master=yes os level = 65 wins support=yes name resolve order=lmhosts host wins bcast ldap ssl = No restrict anonymous = no server string = Samba max protocol = NT server signing = Disabled interfaces = 192.168.2.1 127.0.0.1 security = share netbios name = VRPRODUCTIONS2 log file=/var/log/samba/smb.log.%m log level=3 [CJ home] case sensitive = no guest ok = yes msdfs proxy = no read only = no path = /home/cj Can anyone see what we've overlooked? -- Claude Jones Bluemont, VA, USA
Ilia Chipitsine
2005-Aug-14 11:01 UTC
[Samba] problems with name resolution in a small home network
> Pardon me if I don't adhere to list protocol - this is my first post: > > I have a simple home network with a seemingly intractable problem. I'm pretty > new to Samba, though, and I can't help but think the answer, like the > purloined letter in Edgar Allan Poe's story, is staring me in the face. > Various folks have been helping me over on the Fedora list for 9 days, now, > so I thought I'd try this problem here. > > The networks consists of the following: > A linux Fedora Core server running several services, right on the net: It's > Samba name is vrproductions2 - it's robustly firewalled but, temporarily, all > connections are allowed between the lan and the firewall. This machine is > doing dhcp for the lan, and routing. > The lan consists of three Windows machines: > FHB is not a concern, is running Win98, and is just getting routed to the net. > StudioPC is fixed ip 192.168.2.32 and two hard drives are being shared. > Julimobile is a laptop that gets its ip from the dhcp server on the Linux box > and both of its drives are shared. > As currently configured, I get the following: > Open a konqueror browser window and enter "smb:/ and I get my 'workgroup' > icon; click on that, and I get the three PC's that have shares opened, > VRPRODUCTIONS2, STUDYPC, and JULIMOBILE; Click on each of these in turn, and > I see the shares; in the case of JULIMOBILE and VRPRODUCTIONS2, clicking on > these shares allows me to enter to the root directories of the shares, and > then browse all shared folders; clicking on STUDIOPC results in an error. > > "Internal Error > Please send a full bug report at http://bugs.kde.orgyes, tell them about it :-)> libsmbclient reported an error, but did not specify what the problem is. This > might indicate a severe problem with your network - but also might indicate a > problem with libsmbclient. > If you want to help us, please provide a tcpdump of the network interface > while you try to browse (be aware that it might contain private data, so do > not post it if you are unsure about that - you can send it privately to the > developers if they ask for it)" > > On the other hand, if I enter "smb://192.168.2.32" in the konqueror address > window, I can get into STUDYPC and browse its folders just fine... > STUDYPC is listed in hosts and lmhostsKonqueror (and libsmbclient in turn) doesn't have to use hosts and lmhosts files. Find where it takes information about name resolution order. As for Windows computers, read about "netbios node type" and configure your dhcp server to supply your network with proper settings. Not sure if Konqueror can make use of "netbios node type" provided by DHCP :-(> > Here is my smb.conf: > [global] > workgroup=workgroup > hosts allow = 192.168.2., 127. > local master=yes > domain master=yes > os level = 65 > wins support=yes > name resolve order=lmhosts host wins bcast > ldap ssl = No > restrict anonymous = no > server string = Samba > max protocol = NT > server signing = Disabled > interfaces = 192.168.2.1 127.0.0.1 > security = share > netbios name = VRPRODUCTIONS2 > log file=/var/log/samba/smb.log.%m > log level=3 > > [CJ home] > case sensitive = no > guest ok = yes > msdfs proxy = no > read only = no > path = /home/cj > > Can anyone see what we've overlooked? > -- > Claude Jones > Bluemont, VA, USA > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >
On Friday 12 August 2005 10:23 pm, Claude Jones wrote:> StudioPC is fixed ip 192.168.2.32Double check name spelling, subnet mask, etc.> Open a konqueror browser window and enter "smb:/ and I get my > 'workgroup' icon; click on that, and I get the three PC's that have > shares opened, VRPRODUCTIONS2, STUDYPC, and JULIMOBILE; Click on each > of these in turn, and I see the shares; in the case of JULIMOBILE and > VRPRODUCTIONS2, clicking on these shares allows me to enter to the > root directories of the shares, and then browse all shared folders; > clicking on STUDIOPC results in an error.STUDYPC or STUDIOPC ? Names are not matching.> On the other hand, if I enter "smb://192.168.2.32" in the konqueror > address window, I can get into STUDYPC and browse its folders just > fine... STUDYPC is listed in hosts ?and lmhostsAgain you seem to have used 2 different names. If it is really STUDIOPC, then maybe it, and not STUDYPC, should be in the hosts and lmhosts files (of especially the Fedora box in this case, although the file should be mirrored on all the boxes). Simplify the task: can you ping STUDYPC or STUDIOPC?