[Kolab-devel] Re: Kolab / Horde LDAP missmatch?
Fabio Pietrosanti
lists at pietrosanti.it
Wed Aug 3 08:36:14 CEST 2005
Aaron J. Seigo ha scritto:
>On Tuesday 02 August 2005 01:42, you wrote:
>
>
>>On Monday 01 August 2005 19.08, Aaron J. Seigo wrote:
>>
>>
>>>yes, i have a local fix for this...
>>>in /kolab/var/kolab/www/admin/user/user.php on or around line 453 you'll
>>>see this:
>>>
>>> $ldap_object['objectClass'] = array('top',
>>>'inetOrgPerson','kolabInetOrgPerson');
>>>
>>>change it to:
>>>
>>> $ldap_object['objectClass'] = array('top', 'inetOrgPerson',
>>>'kolabInetOrgPerson', 'hordePerson');
>>>
>>>and voila, things are good, even for accounts that have never been used
>>>with horde. AFAIK this is not currently a generic fix since kolab doesn't
>>>ship with the horde LDAP schema (which contains hordePerson) so would
>>>likely create errors for those w/out horde.
>>>
>>>
>>It should not be to hard to check if horde.schema is included in the ldap
>>config files and based on that conditionally use the correct one.
>>
>>
>
>might that not be a bit slow?
>
>would it make more sense to have another checkbox on the services page that
>says "Enabled Horde webmail integration" and have the admin turn that on?
>
>either way, i don't particularly care. i'll leave it up to the kolab web admin
>maintainer. choose a way and i'll implement it immediately and present the
>patch on the list here.
>
>
Imho your porposed approach is good.
Integrate the horde ldap schema permanently, then an if statement in
user.php that look at a specified ldap field which could be
horde-integration: 1 .
I would really appreciate that patch.
Fabio
More information about the devel
mailing list