[horde] LDAP authentication problems on debian lenny
Jan Schneider
jan at horde.org
Mon May 9 11:26:02 UTC 2011
Zitat von Volker Then <horde40 at volkerthen.com>:
> Zitat von Jan Schneider <jan at horde.org>:
>
>> Zitat von Volker Then <horde40 at volkerthen.com>:
>>
>>> Zitat von Jan Schneider <jan at horde.org>:
>>>
>>>> Zitat von Volker Then <horde40 at volkerthen.com>:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I'm trying to configure LDAP authentication in Horde 4.0.2 on a
>>>>> Debian lenny machine (slapd version 2.4.11). I'm using the same
>>>>> configuration as in a working Horde 3.3 installation. Saving the
>>>>> configuration, gives a PHP Error in syslog:
>>>>>
>>>>> HORDE PHP ERROR: Undefined variable: config [pid 22813 on line
>>>>> 65 of "/usr/share/php/Horde/Core/Factory/Ldap.php"]
>>>>
>>>> Are you sure you have the latest Horde_Ldap package? This
>>>> variable is defined only a few lines earlier.
>>>>
>>>
>>> Yes, it is the latest package:
>>>
>>> channel://pear.horde.org/Horde_Ldap-1.1.1
>>
>> Eh, sorry, this file is from Horde_Core. Anyway, this variable is
>> defined, so if you don't have Horde_Core 1.0.2, then this error
>> message is plain wrong:
>> https://github.com/horde/horde/blob/horde_core-1.0.2/framework/Core/lib/Horde/Core/Factory/Ldap.php#L59
>>
>
> Yes, the installed Horde_Core package is definitley version 1.0.2.
That doesn't change what I said. The error is wrong. So either the
file that reports this error is not from your Horde_Core version, or
your PHP is badly broken.
> Here is another output from the debug log:
> HORDE: HORDE [horde] PHP ERROR: Argument 1 passed to
> Horde_Ldap_Filter::build() must be an array, null given, called in
> /usr/share/php/Horde/Ldap.php on line 862 and defined [pid 23889 on
> line 280 of "/usr/share/php/Horde/Ldap/Filter.php"]
Probably just a follow-up error.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the horde
mailing list