[jcifs] Issue listing "smb://"

Michael B Allen mba2000 at ioplex.com
Thu Jul 15 08:37:43 GMT 2004


On Wed, 14 Jul 2004 20:37:46 -0500
"Christopher R. Hertel" <crh at ubiqx.mn.org> wrote:

> On Wed, Jul 14, 2004 at 06:44:51PM -0400, Michael B Allen wrote:
> > Eric Glass said:
> > > Mike,
> > >
> > > Do you have any thoughts on this (i.e., does it seem to be a
> > > reasonable approach)?  I'm still not convinced that I'm not just doing
> > > something wrong myself (although I've checked my broadcast address,
> > > etc., and everything *seems* to be correct).  But asking the
> > > jcifs.smb.client.domain controller (if specified) for the list seems
> > > like an appropriate fallback, since otherwise you would just get an
> > > UnknownHostException listing "smb://".
> > 
> > But I don't think a domain controller is necessarily an authority for
> > browser protocol information.
> 
> Yes it is.  *If* there is a DC then there must be a PDC.  If there is a
> PDC it *must* be the DMB.  The roles are layered.  The PDC must be the DMB
> which must then be the LMB for its local LAN.

Ok, well then I suppose we could do it. Although it might be considered
a little rude to hit the domain controller for a browse list if that's
not accepted (observed) behavior.

Mike

-- 
Greedo shoots first? Not in my Star Wars.


More information about the jcifs mailing list