alexcrichton / alexcrichton/curl-rust
NTLM authentication on Windows does not work
- Linguagem predominante
- Rust
- Estrelas
- 1.1k
- Forks
- 259
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
I'm evaluating rust for enterprise software development. It's crucial for us to have simple way to make http requests with Kerberos and NTLM authentication. I found no other crates that can do that.
I'm building on windows with cargo.toml settings:
```
[dependencies]
curl = {version="0.4.33", features = ["ssl", "static-curl"]}
```
code:
```rust
...
let mut auth = Auth::new();
auth.ntlm(true);
let mut easy = Easy::new();
easy.http_auth(&auth).unwrap(); // here it panics
...
```
Running this code on windows 10 with command:
```
cargo run
```
And I'm getting the following error:
```
"A requested feature, protocol or option was not found built-in in this libcurl
due to a build-time decision."
```
It seems natural to have NTLM on windows enabled. Maybe I'm doing something wrong?
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.