Getting Samba to work as I want it

Howard Lowndes lannet at lannet.com.au
Sun Aug 26 14:15:50 EST 2001


I have two subnets, one on each end of a VPN tunnel.

One is 192.168.129.0/25 with Samba running on 192.168.129.1,
the other is 192.168.129.128/25 with Samba running on 192.168.129.129

The WINS server is on 192.168.129.1

I want both subnets to be part of the same workgroup, MYWORKGROUP so that
the workgroup is view ubiquitously by all workstations.B

The relevant (I think) extracts from the smb.conf files are here:

for 192.168.129.1 (with WINS server)
[global]
   workgroup = MYWORKGROUP
   hosts allow = 192.168.129. <tunnel addresses> 127.
   interfaces = 192.168.129.1/25 192.168.129.129/25
   remote browse sync = 192.168.129.129
   remote announce = 192.168.129.129
   local master = yes
   domain master = yes
   preferred master = yes
   name resolve order = wins bcast
   wins support = yes
;   wins server = w.x.y.z
   wins proxy = yes

for the other (without WINS server)

[global]
   workgroup = MYWORKGROUP
   hosts allow = 192.168.129. <tunnel addresses> 127.
   interfaces = 192.168.129.129/25 192.168.129.1/25
   remote browse sync = 192.168.129.1
   remote announce = 192.168.129.1
   local master = yes
   domain master = no
   preferred master = yes
   name resolve order = wins bcast
   wins support = no
   wins server = 192.168.129.1
   wins proxy = yes

One problem is that the WINS server does not appear to be getting any
thing outside of itself, certainly not from either subnet.

The other problem is that the browse lists are not being announced to the
other Samba server.

Can anyone see anything obvious?

-- 
Howard.
LANNet Computing Associates - Your Linux people
Contact detail at http://www.lannetlinux.com





More information about the linux mailing list