Skip to content
Snippets Groups Projects
Commit 6f241934 authored by Bill Nagel's avatar Bill Nagel Committed by Steve Holme
Browse files

libcurl: Enable support for the SMB protocol

This patch enables SMB/CIFS support in libcurl.
parent d95cb3ed
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment