使用NTLM V2访问SharePoint 2013内部REST API

使用NTLM V2访问SharePoint 2013内部REST API,sharepoint,sharepoint-2013,ntlm,ntlmv2,Sharepoint,Sharepoint 2013,Ntlm,Ntlmv2,我已为SharePoint 2013 onpremise配置了NTLM和NTLM V2身份验证。 对于NTLMauth,我正在尝试通过使用restapi,它按照预期工作,并获得了成功的响应。 但是,httpntlm无法使用NTLM V2,并且错误为Unauthorized 401 我还尝试了一个支持NTLM和NTLM V2但不工作并抛出内部意外错误的方法 UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejectio

我已为SharePoint 2013 onpremise配置了NTLM和NTLM V2身份验证。 对于NTLMauth,我正在尝试通过使用restapi,它按照预期工作,并获得了成功的响应。 但是,
httpntlm
无法使用NTLM V2,并且错误为
Unauthorized 401

我还尝试了一个支持NTLM和NTLM V2但不工作并抛出内部意外错误的方法

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): 
Error: The server didnt respond properly: Error: Invalid message signature: NTLM

at Object.decodeType2Message (..\node-ntlm-client\lib\ntlm.js:85:9)
at sendRequest (..\node-ntlm-client\lib\ntlmrequest.js:98:28)
我已经在SharePoint 2013系统中安装了NTLM V2。 请建议