﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
12200,NTLM proxy authentication support (ISA server),ssandison,dd32,"Hi,

I am currently working on a contract where I am setting up WordPress MU to run an intranet on a Windows 2003 server. HTTP connections are locked down and the only way to connect to the internet is via an ISA proxy server. I used the recommended proxy settings in wp-config.php however this did not work for me. I did a little digging into the WordPress core code (/wp-includes/http.php) and I found that the proxy code doesn't support NTLM authentication. I have patched my version of http.php to support NTLM and this now works great. I have also added an extra constant in wp-config.php to configure this:

define('WP_PROXY_AUTHTYPE', 'NTLM');

I have produced a diff of the changes I made and would like to contribute them as I am sure there are other people who will encounter similar problems. Especially in a corporate network environment.

I have tested that NTLM proxy authentication will work using pecl_http (exthttp) and cURL. However I couldn't get it to work for streams, fopen or fsockopen. I couldn't find any documentation or forum posts of anyone succeding with these methods but the core developers might also want to take a look.

Please let me know what you think.

Cheers,

Steve",enhancement,closed,normal,3.0,HTTP,3.0,normal,fixed,has-patch,
