[jcifs] SmbAuthException while calling list() on a SmbFile("smb://").

Michael B Allen mba2000 at ioplex.com
Mon Sep 6 20:12:49 GMT 2004


On Mon, 6 Sep 2004 21:19:11 +0200
"Michael P. Jung" <suriver at gmail.com> wrote:

> > You will likely get a wide variety of exceptions doing such things
> > depending on the credentials used and type of network. For example on
> > an ad-hoc university network of student dorm PCs you will likely get an
> > exception with every host. And that would be the correct behavior I
> > hope!
> 
> I don't see any reason why accessing smb:// should require a valid
> user name and password.

Well we haven't had any reports of problems so apparently the master
browser that you're querying does indeed require a valid usernmae and
password.

Again, turn on logging, determine which machine is master browser,
and try to query it directly.

Mike

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


More information about the jcifs mailing list