[wp-trac] [WordPress Trac] #12200: NTLM proxy authentication support (ISA server)
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 11 14:42:10 UTC 2010
#12200: NTLM proxy authentication support (ISA server)
-------------------------+--------------------------------------------------
Reporter: ssandison | Owner: dd32
Type: enhancement | Status: new
Priority: normal | Milestone: Unassigned
Component: HTTP | Version:
Severity: normal | Keywords: proxy, ntlm, isa server
-------------------------+--------------------------------------------------
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
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12200>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list