Project

General

Profile

Actions

Feature #14730

closed

Proxy Config compatibility with MS ISA Servers

Added by Guillaume Crico over 19 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2005-05-13
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

Using proxy connection wia curl on typo fails to pass thru MS ISA servers.

HOW TO FIX :

Add this Line to your localconf.php :
$TYPO3_CONF_VARS['SYS']["curlProxyNTLM"] = '1';

Modify class.t3lib_div.php (both on windows...) :

if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyServer']) {
curl_setopt ($ch, CURLOPT_PROXY, $GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyServer']);
/* ISA server support /
if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyNTLM']) {
+ curl_setopt($ch, CURLOPT_PROXYAUTH, CURLAUTH_NTLM);
+ }
+/
END ISA server support */
// I don't know if it will be needed
if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyTunnel']) {
curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, $GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyTunnel'] );

Should add an option in install tool ?
Should test more deeply curl CURLOPT_PROXYAUTH option.

(issue imported from #M1072)

Actions #1

Updated by Mario Rimann over 13 years ago

Can you still reproduce this problem, or can we safely close it now?

Actions #2

Updated by Chris topher over 13 years ago

  • Status changed from Accepted to Needs Feedback
  • Target version deleted (0)
  • PHP Version deleted (4)
Actions #3

Updated by Henrik Zawischa about 12 years ago

As far as I can see, there still is no support for NTLM proxy authentication in 4.5 LTS.

I don't know about newer versions. But I'd love to have the feature. The implementation is simple. I wouldn't call it ISA Server support, just proxy NTLM authentication support.

                // (Proxy support implemented by Arco <arco@appeltaart.mine.nu>)
            if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyServer']) {
                curl_setopt($ch, CURLOPT_PROXY, $GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyServer']);

                if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyNTLM']) {
                    curl_setopt($ch, CURLOPT_PROXYAUTH, CURLAUTH_NTLM);
                }

                if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyTunnel']) {
                    curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, $GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyTunnel']);
                }
                if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyUserPass']) {
                    curl_setopt($ch, CURLOPT_PROXYUSERPWD, $GLOBALS['TYPO3_CONF_VARS']['SYS']['curlProxyUserPass']);
                }
            }

Actions #4

Updated by Sven Weiss over 11 years ago

Henrik Zawischa wrote:

As far as I can see, there still is no support for NTLM proxy authentication in 4.5 LTS.

I don't know about newer versions. But I'd love to have the feature. The implementation is simple. I wouldn't call it ISA Server support, just proxy NTLM authentication support.

[...]

Same Problem. I modify the Core with each Update to make it work in my Company.

Actions #5

Updated by Alexander Opitz over 11 years ago

  • Status changed from Needs Feedback to Accepted
  • Priority changed from Should have to Could have
  • TYPO3 Version changed from 4.0 to 6.0
  • Complexity set to easy
Actions #6

Updated by Gerrit Code Review about 11 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23510

Actions #7

Updated by Gerrit Code Review about 11 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23510

Actions #8

Updated by Gerrit Code Review about 11 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23510

Actions #9

Updated by Tomita Militaru about 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #10

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF