简体   繁体   English

NTLM 握手被拒绝:CURL

[英]NTLM Handshake rejected: CURL

I am running the curl command in order to get information from a windows 2012 server from a linux machine.我正在运行 curl 命令,以便从 Linux 机器上的 Windows 2012 服务器获取信息。 Every time, I get an NTLM Handshake rejected error.每次,我都会收到 NTLM 握手被拒绝错误。 Has this problem been encountered before?这个问题以前遇到过吗? Is it solvable?可以解决吗?

did you try --anyauth option?您是否尝试过 --anyauth 选项?
Eg例如

curl https://someausomewebsite.come/countriesapi/ -v --ntlm --anyauth -u baba:secret

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM