[jcifs] SmbFile listing members of a domain

Michael B Allen mba2000 at ioplex.com
Thu Jul 13 16:05:36 GMT 2006


JCIFS requires NetBIOS for some name services stuff. So if you're not
using NetBIOS anymore (many people are not) then you'll have to find an
alternative method (e.g. LDAP).

On Thu, 13 Jul 2006 10:37:29 +0200
"Torsten Curdt" <tcurdt at vafer.org> wrote:

> 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
> 


-- 
Michael B Allen
PHP Extension for SSO w/ Windows Group Authorization
http://www.ioplex.com/


More information about the jcifs mailing list