[jcifs] Issue listing "smb://"

Christopher R. Hertel crh at ubiqx.mn.org
Thu Jul 15 15:53:08 GMT 2004


On Thu, Jul 15, 2004 at 04:37:43AM -0400, Michael B Allen wrote:
> 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.

Don't look for the PDC, look for the DMB: domain<1B>.

They'll be one and the same, but yes it is accepted behavior.

Chris -)-----

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org


More information about the jcifs mailing list