[jcifs] SmbFile listing members of a domain

Torsten Curdt tcurdt at vafer.org
Thu Jul 13 08:37:29 GMT 2006


I was trying with

 new SmbFile("smb://" + ntdomain + "/").listFiles();

to list the machines that are member of a domain. But I always get a
UnknownHostException. Even when querying the master browser

 new SmbFile("smb://").listFiles();

I get

 jcifs.smb.SmbException: Failed to connect to server
 java.net.UnknownHostException: ..__MSBROWSE__.<01>

What's going on? Pointers?

cheers
--
Torsten


More information about the jcifs mailing list