diff --git a/lib/url.c b/lib/url.c index 5b19f896e124489c2277f6e75f64ff20ca7a9df9..0a3150e25da422bb87716ee99d6d7bc4b8c6fb71 100644 --- a/lib/url.c +++ b/lib/url.c @@ -216,6 +216,14 @@ static const struct Curl_handler * const protocols[] = { #endif #endif +#if !defined(CURL_DISABLE_SMB) && defined(USE_NTLM) && \ + !defined(USE_WINDOWS_SSPI) + &Curl_handler_smb, +#ifdef USE_SSL + &Curl_handler_smbs, +#endif +#endif + #ifndef CURL_DISABLE_SMTP &Curl_handler_smtp, #ifdef USE_SSL diff --git a/lib/version.c b/lib/version.c index 1ea8a21e897a280f3d6b457f145aa8557dbe6fbf..0eb229bc63307b11fbd3139fb2b73559e3aca35b 100644 --- a/lib/version.c +++ b/lib/version.c @@ -216,6 +216,13 @@ static const char * const protocols[] = { #ifdef USE_LIBSSH2 "sftp", #endif +#if !defined(CURL_DISABLE_SMB) && defined(USE_NTLM) && \ + !defined(USE_WINDOWS_SSPI) + "smb", +# ifdef USE_SSL + "smbs", +# endif +#endif #ifndef CURL_DISABLE_SMTP "smtp", #endif