如何使用xml响应进行curl ntlm身份验证

时间:2018-03-11 23:43:21

标签: authentication curl ntlm

我正在尝试从服务器获取xml响应,但是我得到了这个:SPNEGO无法找到协商机制

你们知道怎么办吗?

ms = linspace(-10,10,1000);
v1=7.5*sin(2*pi*100*ms);
subplot(3,1,1);
plot(ms,v1);

1 个答案:

答案 0 :(得分:0)

尝试升级curl版本。我之前遇到过相同的问题(HTTP / 1.1 401未经授权)。将curl升级到7.45.0(或最新版本)后,问题就解决了。请仔细阅读下面的图片,以更好地理解。

使用curl版本7.38.0发行。 NTLM已禁用:
Issue with the curl version 7.38.0. NTLM is disabled

卷曲版本7.45.0解决了该问题。 NTLM以及其他一些参数也已启用。:
Issue resolved with the curl version 7.45.0. NTLM is enabled as well as some other parameters too.

相关问题