[horde] httpRemote auth failed (was: ldap + performance)
Michael M Slusarz
slusarz at horde.org
Thu Jun 20 22:54:25 UTC 2013
Quoting Andreas Schulze <sca at andreasschulze.de>:
> After changing configuration, login was still not possible due to a
> bug in Remote.php:
> # diff Horde/Auth/Http/Remote.php.orig Horde/Auth/Http/Remote.php
> 56c56
> < $this->_params['client']->request->password = $credentials;
> ---
>> $this->_params['client']->request->password =
>> $credentials['password'];
Fixed.
> To solve my need using a proxy *and* using no proxy for
> authenticating via webserver
> I changed Auth/Http/Remote.php:
> # diff Auth/Http/Remote.php.orig Auth/Http/Remote.php
> 41a42,47
>> // new option in $horde_dir/config/conf.php:
>> $conf['auth']['params']['noproxy'] = true;
>> // Proxy exceptions should better be handled in
>> Horde_Http_Request_Base or similiar
>> if (!empty($params['noproxy'])) {
>> $params['client']->request->proxyServer = null;
>> }
A patch would be considered to be added to the code.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the horde
mailing list