[jcifs] Getting SocketException when trying NTLM locally when no network is unplugged

Nathan Phelps nphelps at amicas.com
Sun Sep 3 04:20:12 GMT 2006


I am getting an java.net.SocketException with the description of "Connection 
reset by peer: socket write error" when I try and do NTLM authentication 
against the local machine and no network is available using SmbSession.login.  
This method is being passed the result of InetAddress.getLocalHost() for the 
domainController parameter and an instance of NtlmPasswordAuthentication with 
the machine name as the domain name, as well as the users credentials.  If I 
plug the network interface back in it works, unplug it again, it fails.



More information about the jcifs mailing list