Hm... not sure. I have a working setup where I just used the name, without domain, for the username field, e.g. <param-name>ntlm-account</param-name> <param-value>TEST-PC$</param-value> I don' really see an obvious problem with your configuration.
Not sure, but this error message "The account used is a Computer Account. Use your global user account or local user account to access this server." sounds like not actual user credentials were provided (from a real user). Instead a technical user was used for the authentication. I can't really be sure. Maybe the AD admin or logs can tell you more? What kind of username credential was used on the client for the login?
Hm... I'm not sure; maybe try to enter the username together with the domain? In similar AD based setups, I sometimes have to enter my username as "<domain>\<username>", e.g.:</username></domain> ACME\johndoe
Hi there, I don't know what to tell you, but this here really indicates connection problems: Caused by: jcifs.smb.SmbException: Failed to connect: 0.0.0.0<00>/18.209.165.217 jcifs.util.transport.TransportException: Connection timeout Being able to ping the IP does not mean that the connection on the specific port, or with the specific protocol, is possible. It could easily be blocked by a firewall, even if ping is possible. Try to make sure that port 445 is open, and that the SMB protocol is allowed....
Hi Parveen, Unfortunately, I don't really have a clue of NTLM. As you see in my project notes, the actual NTLMv2 code (on top of JCIFS) was taken from the "Liferay" portal project. However, my experience has shown me that often when people could not get my library to work, it was because of some setup problems. Like, for example, not using a computer account for the connection to the Domain Controller. A computer account is NOT a "tech user", it is a different kind of account, that can only be properly...
You can probably use either SPNEGO, which is built into Java directly, or NTLMv2, using this library here. SPNEGO is really the more modern way to go (Kerberos), but AFAIK also more complicated to set up and debug. My NTLMv2 filter here is relatively simple to set up. As you can see in the description, it basically extends JCIFS with NTLMv2 support.
NPE in NTLM authentication
Java 9 Compatibility