[horde] LDAP backend
Chuck Hagenbuch
chuck at horde.org
Wed Feb 13 19:53:19 UTC 2008
Quoting Andy Dorman <adorman at ironicdesign.com>:
> We encountered the same issue on our development site with our OpenLDAP
> 2.3.40 backend. We are setting up our system with the latest release
> candidates after running tests with the latest stable versions of
> horde/imp/turba.
>
> However, I did not want to say anything until we finished updating to
> the latest release candidates to make sure the issue was still there.
>
> My crude and temporary fix (NOT a suggested patch since this would make
> the code completely inscrutable and a real head-scratcher 6 months from
> now) was to just set $top=true before the checks. This almost makes
> sense since with our version of OpenLDAP, the top object class already
> exists.
>
> In horde/lib/Horde/Prefs/ldap.php
> ...
> 453 if ($result['count'] > 0) {
> 454 $top = true;
> 455 $hordeperson = false;
>
> I would also be interested to know how many others using LDAP for their
> backend db have encountered this problem.
So basically searching for top in the list of objectclasses fails
because it's not returned, but it is actually already there, so adding
it fails?
If this is the case and the only actual problem is the warning, we
could just silence the ldap_mod_add call - any reason not to do that?
-chuck
More information about the horde
mailing list