function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nikhil Jaitly 8Nikhil Jaitly 8 

NTLM Authentication Error

Has there been any change to Salesforce API ? I am getting NTLM authentication error while uploading data through an automatic process using command line interface Data Loader.

Can anyone please help in this regard ?

Thanks 
Nikhil
pconpcon
Can you be a little more specific?  What error message are you getting?  What version of the API is it connecting to?  Is this connecting to a sandbox or production?
Nikhil Jaitly 8Nikhil Jaitly 8
Hi,

The error we are getting is :
2015-10-14 12:45:03,346 INFO  [RecordProcess] process.ProcessRunner run (ProcessRunner.java:137) - Setting field types
2015-10-14 12:45:03,359 WARN  [RecordProcess] protocol.RequestAuthenticationBase process (RequestAuthenticationBase.java:88) - NTLM authentication error: Credentials cannot be used for NTLM authentication: org.apache.http.auth.UsernamePasswordCredentials
2015-10-14 12:45:03,529 INFO  [RecordProcess] process.ProcessRunner run (ProcessRunner.java:141) - Setting object reference types
2015-10-14 12:45:03,541 WARN  [RecordProcess] protocol.RequestAuthenticationBase process (RequestAuthenticationBase.java:88) - NTLM authentication error: Credentials cannot be used for NTLM authentication: org.apache.http.auth.UsernamePasswordCredentials
2015-10-14 12:45:03,957 WARN  [RecordProcess] protocol.RequestAuthenticationBase process (RequestAuthenticationBase.java:88) - NTLM authentication error: Credentials cannot be used for NTLM authentication: org.apache.http.auth.UsernamePasswordCredentials
2015-10-14 12:45:04,210 WARN  [RecordProcess] protocol.RequestAuthenticationBase process (RequestAuthenticationBase.java:88) - NTLM authentication error: Credentials cannot be used for NTLM authentication: org.apache.http.auth.UsernamePasswordCredentials
2015-10-14 12:45:04,414 INFO  [RecordProcess] process.ProcessRunner run (ProcessRunner.java:145) - Creating Map
2015-10-14 12:45:04,416 INFO  [RecordProcess] action.OperationInfo instantiateAction (OperationInfo.java:95) - Instantiating action for operation: insert

Version being used is 32.0
And we are connecting to Production.

Thanks 
Nikhil
pconpcon
This appears to be a misconfiguration.  What what I can tell (I've never done this) it may be that "you need to use credentials in the form of domain\username in the "user" field, for NTLM authentication to work properly."