Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#4998 closed enhancement (fixed)

Support proxy servers that only support NTLM authentication

Reported by: jpalmer Owned by: Even Rouault
Priority: normal Milestone: 1.10.0
Component: default Version: unspecified
Severity: normal Keywords: CURL PROXY WFS WMS OGR
Cc:

Description (last modified by Even Rouault)

This patch support allows setting the CURLOPT_PROXYAUTH setting so GDAL/OGR can authenticate with proxy servers that only support NTLM authentication. Can be set via the GDAL_PROXY_AUTH config option. This option allow you to set the following values:

BASIC NTLM DIGEST ANY

At the same time this patch better support server the HTTP authentication method (using CURLOPT_HTTPAUTH). This can be set via the GDAL_HTTP_AUTH config option. This option allow you to set the following values:

BASIC NTLM ANY NEGOTIATE

See the CURL docs for more information about these options:

http://curl.haxx.se/libcurl/c/curl_easy_setopt.html

Attachments (1)

proxy_auth.patch (8.5 KB ) - added by jpalmer 10 years ago.

Download all attachments as: .zip

Change History (3)

by jpalmer, 10 years ago

Attachment: proxy_auth.patch added

comment:1 by Even Rouault, 10 years ago

Description: modified (diff)
Milestone: 1.10.0
Resolution: fixed
Status: newclosed

r25661 port/cpl_http.cpp port/cpl_vsil_curl.cpp port/cpl_vsil_curl_streaming.cpp frmts/wms/gdalhttp.cpp -m "Curl: allows setting the CURLOPT_PROXYAUTH setting through GDAL_PROXY_AUTH=BASIC/NTLM/DIGEST/ANY, allow setting CURLOPT_HTTPAUTH through GDAL_HTTP_AUTH=BASIC/NTLM/GSSNEGOTIATE/ANY; refactor code to avoid code duplication (patch derived from Jeremy Palmer's patch, #4998)"

comment:2 by jpalmer, 10 years ago

Thanks for the fix Even!

Cheers Jeremy

Note: See TracTickets for help on using tickets.