alexcrichton / alexcrichton/curl-rust

NTLM authentication on Windows does not work

Aberta
#359 8 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
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.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.