mirror of
https://github.com/curl/curl.git
synced 2026-07-27 03:57:16 +03:00
lib: make SMB support opt-in
The SMB protocol has weak security and is rarely used these days. Note that SMB also requires NTLM enabled. Closes #20846
This commit is contained in:
parent
06a83340b1
commit
6393103b99
12 changed files with 31 additions and 34 deletions
|
|
@ -157,9 +157,9 @@ Disable the SHA-512/256 hash algorithm.
|
|||
|
||||
Disable the shuffle DNS feature
|
||||
|
||||
## `CURL_DISABLE_SMB`
|
||||
## `CURL_ENABLE_SMB`
|
||||
|
||||
Disable the SMB(S) protocols
|
||||
Enable the SMB(S) protocols
|
||||
|
||||
## `CURL_DISABLE_SMTP`
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ TLS-SRP support gets removed in August 2026.
|
|||
## SMB goes opt-in
|
||||
|
||||
The SMB protocol has weak security and is rarely used these days. After curl
|
||||
|
||||
8.19.0 SMB support becomes opt-in.
|
||||
|
||||
## NTLM goes opt-in
|
||||
|
|
|
|||
|
|
@ -310,7 +310,7 @@ target_link_libraries(my_target PRIVATE CURL::libcurl)
|
|||
- `CURL_DISABLE_RTSP`: Disable RTSP. Default: `OFF`
|
||||
- `CURL_DISABLE_SHA512_256`: Disable SHA-512/256 hash algorithm. Default: `OFF`
|
||||
- `CURL_DISABLE_SHUFFLE_DNS`: Disable shuffle DNS feature. Default: `OFF`
|
||||
- `CURL_DISABLE_SMB`: Disable SMB. Default: `OFF`
|
||||
- `CURL_ENABLE_SMB`: Enable SMB. Default: `OFF`
|
||||
- `CURL_DISABLE_SMTP`: Disable SMTP. Default: `OFF`
|
||||
- `CURL_DISABLE_SOCKETPAIR`: Disable use of socketpair for curl_multi_poll(). Default: `OFF`
|
||||
- `CURL_DISABLE_SRP`: Disable TLS-SRP support. Default: `OFF`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue