Feature #14730
closed
Proxy Config compatibility with MS ISA Servers
Added by Guillaume Crico over 19 years ago.
Updated about 6 years ago.
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)
Can you still reproduce this problem, or can we safely close it now?
- Status changed from Accepted to Needs Feedback
- Target version deleted (
0)
- PHP Version deleted (
4)
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']);
}
}
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.
- 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
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF