[jcifs] authentication against workgroup & not domain possible?

stefaan stefaan at nachtergaele.net
Wed Sep 1 08:57:45 GMT 2004


Is it possible to authenticate against a workgroup instead of a domain?
The following:
        InetAddress ip = InetAddress.getByName("localhost"); // ip 
address of your windows controller
        UniAddress myDomain = new UniAddress(ip);
        NtlmPasswordAuthentication auth = new 
NtlmPasswordAuthentication("MyWorgkroup", "stefaan", "");
        SmbSession.logon(myDomain, auth);
threw a connection exception. "MyWorkgroup" is a workgroup, not a domain.
Thanks,
Stefaan Nachtergaele


More information about the jcifs mailing list