browsing multiple workgroups on multiple subnets

Avantel Systems alex at avantel.ca
Mon Apr 30 22:11:43 GMT 2001


On Mon, 30 Apr 2001, you wrote:
> Alex,
>=20
> I'm a bit confused about this issue. It is my understanding that, along
> with the names of workgroups, local master browsers, in its browse list=
s, have
> the names of its respective local master browsers. When a client wants =
to
> browse another workgroup, it will contact its local master browser whic=
h, on
> its behalf, will ask the remote local master browser the lists of serve=
r in
> its workgroup. > =20

When browsing a workgroup, the name lookup is for a type 0x1b netbios nam=
e
(LMB) and for type 0x1b names registrations, samba wins always uses
255.255.255.255 because that what's MS does.

> Then, why to use broadcast, if local master browsers do know
> the name of the local master browser for the workgroup to be browsed?=20
>  >  >

Because that's what wins tells it to use. =20


Alex Vandenham
Avantel Systems
Ottawa, Ontario, Canada

--- > Inaki Sanchez  > Redes y Comunicaciones=20
> Universidad de Navarra, Spain    <http://www.unav.es>=20
> <mailto:isanchez at unav.es>    +34 948425600=20
>=20
>=20
>=20
>=20
> > -----Original Message-----
> > From: samba-admin at lists.samba.org=20
> > [mailto:samba-admin at lists.samba.org]On
> > Behalf Of Avantel Systems
> > Sent: Sunday, April 29, 2001 1:38 AM
> > To: Brock Nanson; samba at lists.samba.org
> > Subject: Re: browsing multiple workgroups on multiple subnets
> >=20
> >=20
> > This is taken directly from the source code for the wins server;
> >=20
> > /*
> > * Special policy decisions based on MS documentation.
> > * 1). All group names (except names ending in 0x1c) are added=20
> > as 255.255.255.255.
> > * 2). All unique names ending in 0x1d are ignored, although a=20
> > positive response is sent.
> > */
> >=20
> > When your network neighbourhood browser does a lookup for a=20
> > workgroup (click on
> > the workgroup name) the address that is returned from samba=20
> > wins is the LOCAL
> > broadcast address - see for yourself & look in wins.dat and=20
> > see what you get for
> > the ipaddress for the netbios name of the WG (type 1b).  If=20
> > the LMB truely is
> > local, it works.  If the LMB is on the other end of the VPN,=20
> > that address will
> > NOT get you there.  Windows gives you a useless error message.  =20
> >=20
> > The consequence is that you do not get the browse list for=20
> > that LMB - unless it
> > is a local host.=20
> >=20
> > Alex Vandenham
> > Avantel Systems
> > Ottawa Ontario
> >=20
> > On Thu, 26 Apr 2001, Brock Nanson wrote:
> > > Is it possible to browse multiple workgroups on two or more subnets=
?
> > >=20
> > > I have set up samba on either end of a VPN and can browse=20
> > successfully from
> > > either end, but only in the workgroup that samba is=20
> > configured for.  Can
> > > Samba be a member of more than one workgroup at the same=20
> > time?  Looking in
> > > browse.dat I can see all the machines in samba's workgroup=20
> > and also the
> > > other workgroups, but not the machines within.
> > >=20
> > > I'm getting close, I can taste it!  Can someone give me a=20
> > hint as to what to
> > > do next?
> > >=20
> > > Thanks,
> > >=20
> > > R Brock Nanson, P.Eng.
> > > Kamloops BC
> > > Canada
> > >=20
> > >




More information about the samba mailing list