josh@trutwins.homeip.net
2002-Jan-14 13:56 UTC
Samba Network Browsing after Windows Upgrade
Hello list, I have a minor annoyance with network browsing running samba 2.2.2. I have 3 PC's at home running various OS's. At one time the OS's were as follows: Scully - SuSE Linux 7.3 (Samba, djbdns, qmail, apache) Mulder - Win 2000 laptop Doggett - Win 98 PC With this configuration running samba 2.2.2 I was able to get network browsing working perfectly. All three machines appeared in everyone's network neighborhood. Of course though, Mulder (windows 2000) started locking up and gave me numerous problems. So I rebuilt it with Windows 98 which for some reason seems to be the most "stable" windows I have tried. The network settings for for the two Win98 machines (Mulder and Doggett) are EXACTLY the same (DNS, WINS, etc), but now network browsing is not working as well. For Doggett, only Scully and Doggett show up in the Network Neighborhood. For Mulder, only Mulder shows up in the Network Neighborhood. Fortunately, I still access all shares using Map Network Drive, but I would like to fix the browsing capability as it is easier to use. I checked the samba logs and there is nothing exciting to report from them. Everything worked fine until I rebuilt the laptop. Are there any samba cache files that need to be removed? I have restarted samba, rebooted the server, rebooted the clients, no change. I ran through all the steps in DIAGNOSIS.txt again, everything worked ok. The only thing that might help is that nmblookup -A has different results: scully# nmblookup -A doggett Looking up status of 192.168.0.5 DOGGETT <00> - M <ACTIVE> XFILES <00> - <GROUP> M <ACTIVE> DOGGETT <03> - M <ACTIVE> DOGGETT <20> - M <ACTIVE> XFILES <1e> - <GROUP> M <ACTIVE> SKINNER <03> - M <ACTIVE> scully# nmblookup -A mulder Looking up status of 192.168.0.2 MULDER <00> - M <ACTIVE> XFILES <00> - <GROUP> M <ACTIVE> MULDER <03> - M <ACTIVE> MULDER <20> - M <ACTIVE> XFILES <1e> - <GROUP> M <ACTIVE> SKINNER <03> - M <ACTIVE> XFILES <1d> - M <ACTIVE> ..__MSBROWSE__. <01> - <GROUP> M <ACTIVE> Should DOGGETT also have a __MSBROWSE__ and a XFILES <1d> entry? Here is a snip from my smb.conf: (samba is running on 192.168.0.3) Any help is greatly appreciated. Thanks, Josh [global] netbios name = scully workgroup = XFILES server string = Linux Samba %v interfaces = 192.168.0.3 127.0.0.1 bind interfaces only = Yes security = user username map = /etc/samba/smbusers password level = 8 encrypt passwords = yes obey pam restrictions = yes pam password change = yes smb passwd file = /etc/samba/smbpasswd os level = 65 lm announce = True dns proxy = No valid users = skinner root nobody hosts allow = 192.168.0.2 192.168.0.3 192.168.0.4 192.168.0.5 127.0.0.1 wins support = yes name resolve order = wins lmhosts hosts bcast dns proxy = yes local master = yes preferred master = yes domain master = yes browsable = yes guest ok = yes guest account = nobody load printers = yes
josh@trutwins.homeip.net
2002-Jan-14 15:32 UTC
Samba Network Browsing after Windows Upgrade
I did a few more tests, the following info might also be helpful in diagnosing the problem. Thanks, Josh <snip> scully# nmblookup -M XFILES querying XFILES on 192.168.0.255 192.168.0.3 XFILES<1d> 192.168.0.2 XFILES<1d> </snip> 192.168.0.3 is the samba server SCULLY for workgroup XFILES. 192.168.0.2 is MULDER, but where is DOGGETT? (192.168.0.5) <snip> scully# more /usr/local/samba/var/locks/browse.dat "XFILES" c0001010 "SCULLY" "XFILES" "SCULLY" 400d9b03 "Linux Samba 2.2.2" "XFILES" "DOGGETT" 40462203 "PC" "XFILES" </snip> Where is MULDER? :) <snip> scully# more /usr/local/samba/var/locks/wins.dat VERSION 1 151235 "__MSBROWSE__#01" 1011343224 255.255.255.255 84R "DOGGETT#00" 1011243313 192.168.0.5 4R "DOGGETT#03" 1011243313 192.168.0.5 4R "DOGGETT#20" 1011243313 192.168.0.5 4R "MULDER#00" 1011266231 192.168.0.2 4R "MULDER#03" 1011266231 192.168.0.2 4R "MULDER#20" 1011266231 192.168.0.2 4R "SCULLY#00" 1011302693 192.168.0.3 46R "SCULLY#03" 1011302693 192.168.0.3 46R "SCULLY#20" 1011302693 192.168.0.3 46R "SKINNER#03" 1011266231 192.168.0.2 4R "XFILES#00" 1011302693 255.255.255.255 c4R "XFILES#1b" 1011302693 192.168.0.3 44R "XFILES#1e" 1011302693 255.255.255.255 c4R </snip> This looks ok, I think.... Also, using smbclient -L MULDER or DOGGETT -N sucessfully lists all of the shares on those two Win98 machines. Odd.> Hello list, > > I have a minor annoyance with network browsing running samba 2.2.2. > > I have 3 PC's at home running various OS's. At one time the OS's were > as follows: > > Scully - SuSE Linux 7.3 (Samba, djbdns, qmail, apache) > Mulder - Win 2000 laptop > Doggett - Win 98 PC > > With this configuration running samba 2.2.2 I was able to get network > browsing working perfectly. All three machines appeared in everyone's > network neighborhood. > > Of course though, Mulder (windows 2000) started locking up and gave me > numerous problems. So I rebuilt it with Windows 98 which for some > reason seems to be the most "stable" windows I have tried. > > The network settings for for the two Win98 machines (Mulder and > Doggett) are EXACTLY the same (DNS, WINS, etc), but now network > browsing is not working as well. For Doggett, only Scully and Doggett > show up in the Network Neighborhood. For Mulder, only Mulder shows up > in the Network Neighborhood. Fortunately, I still access all shares > using Map Network Drive, but I would like to fix the browsing > capability as it is easier to use. > > I checked the samba logs and there is nothing exciting to report from > them. Everything worked fine until I rebuilt the laptop. Are there > any samba cache files that need to be removed? I have restarted samba, > rebooted the server, rebooted the clients, no change. I ran through > all the steps in DIAGNOSIS.txt again, everything worked ok. The only > thing that might help is that nmblookup -A has different results: > > scully# nmblookup -A doggett > Looking up status of 192.168.0.5 > DOGGETT <00> - M <ACTIVE> > XFILES <00> - <GROUP> M <ACTIVE> > DOGGETT <03> - M <ACTIVE> > DOGGETT <20> - M <ACTIVE> > XFILES <1e> - <GROUP> M <ACTIVE> > SKINNER <03> - M <ACTIVE> > > scully# nmblookup -A mulder > Looking up status of 192.168.0.2 > MULDER <00> - M <ACTIVE> > XFILES <00> - <GROUP> M <ACTIVE> > MULDER <03> - M <ACTIVE> > MULDER <20> - M <ACTIVE> > XFILES <1e> - <GROUP> M <ACTIVE> > SKINNER <03> - M <ACTIVE> > XFILES <1d> - M <ACTIVE> > ..__MSBROWSE__. <01> - <GROUP> M <ACTIVE> > > Should DOGGETT also have a __MSBROWSE__ and a XFILES <1d> entry? > > Here is a snip from my smb.conf: (samba is running on 192.168.0.3) > > Any help is greatly appreciated. Thanks, > > Josh > > [global] > netbios name = scully > workgroup = XFILES > server string = Linux Samba %v > interfaces = 192.168.0.3 127.0.0.1 > bind interfaces only = Yes > security = user > username map = /etc/samba/smbusers > password level = 8 > encrypt passwords = yes > obey pam restrictions = yes > pam password change = yes > smb passwd file = /etc/samba/smbpasswd > os level = 65 > lm announce = True > dns proxy = No > valid users = skinner root nobody > hosts allow = 192.168.0.2 192.168.0.3 192.168.0.4 192.168.0.5 > 127.0.0.1 > wins support = yes > name resolve order = wins lmhosts hosts bcast > dns proxy = yes > local master = yes > preferred master = yes > domain master = yes > browsable = yes > guest ok = yes > guest account = nobody > load printers = yes > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Well, Mulder is showing up as a local master browser (the <1d> entry), so that means it is not seeing Scully as the browse master. My guess would be that you have NetBUI or IPX enabled on that machine. josh@trutwins.homeip.net wrote:> > Hello list, > > I have a minor annoyance with network browsing running samba 2.2.2. > > I have 3 PC's at home running various OS's. At one time the OS's were as > follows: > > Scully - SuSE Linux 7.3 (Samba, djbdns, qmail, apache) > Mulder - Win 2000 laptop > Doggett - Win 98 PC > > With this configuration running samba 2.2.2 I was able to get network > browsing working perfectly. All three machines appeared in everyone's > network neighborhood. > > Of course though, Mulder (windows 2000) started locking up and gave me > numerous problems. So I rebuilt it with Windows 98 which for some reason > seems to be the most "stable" windows I have tried. > > The network settings for for the two Win98 machines (Mulder and Doggett) > are EXACTLY the same (DNS, WINS, etc), but now network browsing is not > working as well. For Doggett, only Scully and Doggett show up in the > Network Neighborhood. For Mulder, only Mulder shows up in the Network > Neighborhood. Fortunately, I still access all shares using Map Network > Drive, but I would like to fix the browsing capability as it is easier to > use. > > I checked the samba logs and there is nothing exciting to report from > them. Everything worked fine until I rebuilt the laptop. Are there any > samba cache files that need to be removed? I have restarted samba, > rebooted the server, rebooted the clients, no change. I ran through all > the steps in DIAGNOSIS.txt again, everything worked ok. The only thing > that might help is that nmblookup -A has different results: > > scully# nmblookup -A doggett > Looking up status of 192.168.0.5 > DOGGETT <00> - M <ACTIVE> > XFILES <00> - <GROUP> M <ACTIVE> > DOGGETT <03> - M <ACTIVE> > DOGGETT <20> - M <ACTIVE> > XFILES <1e> - <GROUP> M <ACTIVE> > SKINNER <03> - M <ACTIVE> > > scully# nmblookup -A mulder > Looking up status of 192.168.0.2 > MULDER <00> - M <ACTIVE> > XFILES <00> - <GROUP> M <ACTIVE> > MULDER <03> - M <ACTIVE> > MULDER <20> - M <ACTIVE> > XFILES <1e> - <GROUP> M <ACTIVE> > SKINNER <03> - M <ACTIVE> > XFILES <1d> - M <ACTIVE> > ..__MSBROWSE__. <01> - <GROUP> M <ACTIVE> > > Should DOGGETT also have a __MSBROWSE__ and a XFILES <1d> entry? > > Here is a snip from my smb.conf: (samba is running on 192.168.0.3) > > Any help is greatly appreciated. Thanks, > > Josh >-- =====================================================================Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 herb@sgi.com Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 ======================================================================
josh@trutwins.homeip.net wrote:> > I did a few more tests, the following info might also be helpful in > diagnosing the problem. > > Thanks, > > Josh > > <snip> > scully# nmblookup -M XFILES > querying XFILES on 192.168.0.255 > 192.168.0.3 XFILES<1d> > 192.168.0.2 XFILES<1d> > </snip>the -M option only looks for browse masters so DOGGETT should not be in this list (neither shouls MULDER for that matter and that is your problem).> > 192.168.0.3 is the samba server SCULLY for workgroup XFILES. 192.168.0.2 > is MULDER, but where is DOGGETT? (192.168.0.5) > > <snip> > scully# more /usr/local/samba/var/locks/browse.dat > "XFILES" c0001010 "SCULLY" "XFILES" > "SCULLY" 400d9b03 "Linux Samba 2.2.2" "XFILES" > "DOGGETT" 40462203 "PC" "XFILES" > </snip> > > Where is MULDER? :)Since MULDER thinks it is a browse master my guess is that it never did a name registration by broadcast but did correctly register with the WINS server.> > <snip> > scully# more /usr/local/samba/var/locks/wins.dat > VERSION 1 151235 > "__MSBROWSE__#01" 1011343224 255.255.255.255 84R > "DOGGETT#00" 1011243313 192.168.0.5 4R > "DOGGETT#03" 1011243313 192.168.0.5 4R > "DOGGETT#20" 1011243313 192.168.0.5 4R > "MULDER#00" 1011266231 192.168.0.2 4R > "MULDER#03" 1011266231 192.168.0.2 4R > "MULDER#20" 1011266231 192.168.0.2 4R > "SCULLY#00" 1011302693 192.168.0.3 46R > "SCULLY#03" 1011302693 192.168.0.3 46R > "SCULLY#20" 1011302693 192.168.0.3 46R > "SKINNER#03" 1011266231 192.168.0.2 4R > "XFILES#00" 1011302693 255.255.255.255 c4R > "XFILES#1b" 1011302693 192.168.0.3 44R > "XFILES#1e" 1011302693 255.255.255.255 c4R > </snip> > > This looks ok, I think.... > > Also, using smbclient -L MULDER or DOGGETT -N sucessfully lists all of the > shares on those two Win98 machines. > > Odd. >-- =====================================================================Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 herb@sgi.com Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 ======================================================================