alexcrichton / alexcrichton/curl-rust
NTLM authentication on Windows does not work
- Langage dominant
- Rust
- Étoiles
- 1.1k
- Forks
- 258
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.