[jcifs] Issue listing "smb://"
eric.glass at gmail.com
Thu Jul 15 23:01:06 GMT 2004
> > 1) If jcifs.smb.client.domain is specified, query domain<1D> to get
> > the LMB for that workgroup.
> > 2) If no results from above (or if jcifs.smb.client.domain is not
> > specified), try __MSBROWSE__ to get a LMB for any workgroup.
> > 3) If no results from above, and if jcifs.smb.client.domain is
> > specifed, query domain<1B> for the DMB.
> > 4) If no results from above, as a last ditch attempt query *<1B> for
> > all known DMBs (only works with Samba).
> > Correct?
> I can't go through a process like this for every little lookup. We have keep
> the lookups practical. Directing the NetServerEnum to the address assocaited
> with the jcifs.smb.client.domain parameter is good enough.
I would agree; if nobody responds on the __MSBROWSE__ (no LMB
present), doing the NetServerEnum to jcifs.smb.client.domain should be
sufficient. I would think it would give good coverage of reasonable
scenarios (when there is an LMB, and when there isn't).
More information about the jcifs