[turba] Fwd: Re: Birthday field in LDAP [Fixed!]

Xavier Perseguers devel at perseguers.no-ip.com
Thu May 5 06:32:59 PDT 2005


>>>Hello,
>>>
>>>I included mozillaAbObsoletePerson as schema for my OpenLDAP server and
>>>added in config/sources.php
>>>
>>>'birthday' => 'mozillaCustom2'
>>>
>>>just to see whether it works or not. The problem is the birthday is
>>>stored in the mozillaCustom2 property (I see it using a LDAP browser)
>>>but it does not show up again in Turba when showing a contact card.
>>
>>
>>What doesn't show up? The correct date, or the complete birthday field?
> 
> The complete birthday field

I found the error while debugging the code! I included line

'birthday' => 'mozillaCustom2'

but ldap was returning field 'custom2' instead of 'mozillaCustom2' as 
the schema had an alias. I changed

'birthday' => 'custom2'

and now it just works fine!

Xavier


More information about the turba mailing list