I would like to know how to view a samba server on a different subnet than the client workstation resides. For example, I have a Samba 1.9.18p3 server in subnet 'a' and a NT 4.0 client in subnet 'b'. The Samba server does not show up when the NT client double-clicks on the Network Neighborhood. However, if the client does a Find:computer it will find the server, and shares can be mounted. I've tried adding to the smb.conf "allow hosts=", "remote announce=" and "interfaces=" in the global section but it hasn't helped. I apologize for bringing up a subject that I'm sure has been covered somewhere before, but I'm just plain stumped and could use some help. Thanks, Bob Rohde
Bob Rohde wrote:> > I would like to know how to view a samba server on a different subnet than > the client workstation resides. For example, I have a Samba 1.9.18p3 server > in subnet 'a' and a NT 4.0 client in subnet 'b'. The Samba server does not > show up when the NT client double-clicks on the Network Neighborhood. > However, if the client does a Find:computer it will find the server, and > shares can be mounted. I've tried adding to the smb.conf "allow hosts=", > "remote announce=" and "interfaces=" in the global section but it hasn't > helped. I apologize for bringing up a subject that I'm sure has been covered > somewhere before, but I'm just plain stumped and could use some help. > > Thanks, > > Bob RohdeYou need WINS to enable cross-subnet browsing. You can either make your samba server a WINS server or point it to an existing WINS server. You also need a local master browser on each subnet. Each client must also be pointing to the WINS server. See the file BROWSING.txt in the samba docs directory. -- =====================================================================Herb Lewis Silicon Graphics Technical Marketing 2011 N Shoreline Blvd Network Systems Division Mountain View, CA 94043 herb@sgi.com Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 ======================================================================
Hi everyone, I am trying to set up browsing across subnets on samba (Linux RH5.0 samba 1.1.18p3), so that I can browse from Win 95 PCs and see other similar PCs. The samba server is configured to be the local browse master, the domain browse master and also a WINS server. I have not got it working yet :-(. I was wondering if anyone can tell me what the format is for the files \var\lock\samba\wins.dat and \var\lock\samba\broswe.dat so that I can try to work out how to proceed from this point. Thanks very much. Louis.
Hi All, this is probably a common problem and FAQ but I can't the solution. I've got two subnets, 10.1.1.0/255.255.0.0 at Leeds and 10.2.0.0/255.255.0.0 at Doncaster. At Leeds, I've got samba running as browse master and WINS server - workgroup LEEDS. At Doncaster I've got samba running as browse master and WINS client - workgroup DONCASTER. All PC's at all sites are WINS clients to the Leeds samba, and have the appropriate workgroup. WINS is working fine with the Leeds PC holding WINS details for everyone, and the two browse masters are working fine, holding the browse details for their respective workgroup/subnets. My problem is cross-subnet browsing. On only one ocasion, on PC's at Doncaster, everything worked, I Dblclicked 'Entire Network', and got both workgroups listed, Dblclicked 'Leeds' and saw the Leeds workgroup. This had never happened before, and has never happened since. It's never worked the other way. Can anyone tell me what I need to do to get it working properly - I'm adding another site soon and would like it sorting before then. Thanks.
I been assigned to re-configure an existing SMB network to allow browsing across subnets in the same workgroup. Here is a picture: ---- ---- |PC's| |PC's| ---- ---- NT1 | | ----- ---- | | |---| hub| CE-S01 | |WINS | | | --------- --- ----- ---- |linux box|------|hub|-| | |samba | --- | 192.168.1.255 | --------- | ---------- ISDN ---------- | | ascend 75|-------------------------------| ascend 75|--- ---------- ---------- 192.168.2.255 Computers on 192.168.2.255 (the linux-samba side) can browse both subnets, but computers on 192.168.1.255 can browse their own subnet only. I have tried using remote browse sync = 192.168.1.55 remote annouce = 192.168.1.55 # NT1's address. in the smb.conf for the linux box, but it doesn't seem to work. NT1 is the wins server. For the linux machine (CE-S01): $ nmblookup -A 192.168.2.1 Sending queries to 192.168.2.255 Looking up status of 192.168.2.1 received 2 names ..__MSBROWSE__. <01> - <GROUP> M <ACTIVE> COMPANY <1d> - M <ACTIVE> num_good_sends=0 num_good_receives=0 CE-S01 (linux/samba box) smb.conf: hosts allow = 192.168.1. 192.168.2. 127. local master = yes os level = 33 domain master = no preferred master = yes workgroup = COMPANY wins proxy = Yes wins server = 192.168.1.55 remote announce = 192.168.1.55 dns proxy = No $ smbclient -L CE-S01 -U '' -N Added interface ip=192.168.2.1 bcast=192.168.2.255 nmask=255.255.255.0 startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such file or directory Server time is Fri Sep 8 07:34:53 2000 Timezone is UTC-7.0 Domain=[COMPANY] OS=[Unix] Server=[Samba 1.9.18p10] connected as guest security=user Server=[CE-S01] User=[nobody] Workgroup=[COMPANY] Domain=[COMPANY] Sharename Type Comment --------- ---- ------- IPC$ IPC IPC Service (Samba Server) This machine has a browse list: Server Comment --------- ------- ... shows all hosts on both subnets including CE-S01 NT1 This machine has a workgroup list: Workgroup Master --------- ------- COMPANY CE-S01 For the NT1 machine: $ nmblookup -A 192.168.1.55 Sending queries to 192.168.2.255 Looking up status of 192.168.1.55 received 13 names NT1 <00> - B <ACTIVE> NT1 <20> - B <ACTIVE> COMPANY <00> - <GROUP> B <ACTIVE> COMPANY <1c> - <GROUP> B <ACTIVE> COMPANY <1b> - B <ACTIVE> NT1 <03> - B <ACTIVE> COMPANY <1e> - <GROUP> B <ACTIVE> COMPANY <1d> - B <ACTIVE> ..__MSBROWSE__. <01> - <GROUP> B <ACTIVE> NT1 <6a> - B <ACTIVE> NT1 <87> - B <ACTIVE> ADMINISTRATOR <03> - B <ACTIVE> NT1 <be> - B <ACTIVE> num_good_sends=0 num_good_receives=0 $ smbclient -L NT1 -U '' -N Added interface ip=192.168.2.1 bcast=192.168.2.255 nmask=255.255.255.0 startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such file or directory Got a positive name query response from 192.168.1.55 ( 192.168.1.55 ) Server time is Wed Sep 8 15:07:48 1999 Timezone is UTC-7.0 Domain=[COMPANY] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] security=user This machine has a browse list: Server Comment --------- ------- .. shows hosts only on own subnet... NT1 This machine has a workgroup list: Workgroup Master --------- ------- COMPANY NT1 Any ideas why the NT subnet cannot browse the samba subnet and what do the B and M fields in the nmblookup output mean? Thanks