[Samba] Cross-subnet browsing...AGAIN!!!

Robin Bowes robin-lists at robinbowes.com
Thu Aug 11 18:31:23 GMT 2005


Hi,

I've been struggling with getting subnet browsing to work on my home 
network for some time and have decided to give it another go.

This is my network configuration:

Internet ----- Cisco SOHO97
                (192.168.1.1)
                 | |       |
    +------------+ |       +----------------+
    |              |       |                |
    |      (192.168.1.5) (192.168.1.250)  (192.168.1.249)
    |          dude        batmobile        tosh
    |      (samba server) (XP client)     (XP client)
    |
(192.168.1.4)
Linksys WRT54GS
(192.168.4.1)
    |
    |
(192.168.4.147)
     tosh2
   (XP client)

The Linksys router is routing between networks - no NAT is involved.

I'm using the workgroup "HOME" and all XP clients are members of this 
workgroup.

My smb.conf is as follows:

# Global parameters
[global]
         workgroup = HOME
         server string = Samba Server
         guest account = ftp
         log file = /var/log/samba/%m.log
         max log size = 50
         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
         os level = 255
         domain master = yes
         preferred master = yes
         local master = yes
         os level = 255
         dns proxy = No
         wins support = Yes
         ldap ssl = no
         remote announce = 192.168.4.255/HOME 192.168.3.255/HOME
         remote browse sync = 192.168.4.255 192.168.3.255
         cups options = raw
         name resolve order = wins,lmhosts,host,bcast
         hosts allow = 192.168.1. 192.168.2. 192.168.3. 192.168.4.

[homes]
         comment = Home Directories
         read only = No
         browseable = yes

[printers]
         comment = All Printers
         path = /var/spool/samba
         printable = Yes
         browseable = No


[music]
         comment = Music files used by slimserver
         path = /home/slimserver/music
         write list = robin
         read only = No

[test]
         comment = Test share
         path = /home/test
         write list = robin
         read only = No

[cdrom]
         comment = DVD/CD Writer on Dude
         path = /media/cdrecorder
         read only = Yes

[slim]
         comment = Slimserver source tree
         path = /usr/local/slimserver
         read only = Yes

[apache]
         comment = Apache home
         path = /home/apache
         write list = robin
         read only = No

I've shutdown all XP machines and restarted samba (smbd and nmbd) then 
restarted all XP machines.

If I browse to My Network Places\Microsoft Windows Network\Home on each 
of the XP machines, here's what I see under Home on each machine:

Tosh2: Tosh2
        All shares on Dude under My Network Places
Batmobile: Batmobile, Dude
Tosh: Batmobile, Dude
        Some shares on Dude under My Network Places
        Some shares on Batmobile under My Network Places

What I don't understand is:

1. Why can't I see Tosh from Batmobile?
2. Why can't I see Tosh from Tosh ??!!
3. Why can't I see Tosh, Batmobile, or Dude from Tosh2?
4. Why can't I see Tosh2 from Tosh, Batmobile, or Dude?

Name resolution appears to be working (I can ping 
tosh|tosh2|batmobile|dude from tosh|tosh2|batmobile|dude)

Am I missing something?

R.
-- 
http://robinbowes.com

If a man speaks in a forest,
and his wife's not there,
is he still wrong?



More information about the samba mailing list