Re: [Evolution-hackers] Support for 'givenName' LDAP attribute



Sorry, that should have gone CC to the list.

Cheers,
Robert


Robert Markula wrote:
> Hi Matthew,
> 
> Matthew Barnes wrote:
>> For starters, please file a bug about it:
>> https://bugzilla.gnome.org/enter_bug.cgi?product=Evolution-Data-Server
>>
>> LDAP code is in the 'ldap' backend in Evolution-Data-Server.
>>
>> Matthew Barnes
> 
> Thanks, bug is filed [1].
> 
> Skimming quickly over the source code, would it suffice to add this line
> of code to e-book-backend-ldap.c?
> 
> <snip>
> --- e-book-backend-ldap.c	2010-03-14 12:01:26.830882397 +0100
> +++ e-book-backend-ldap.c.new	2010-03-14 12:01:20.474891973 +0100
> @@ -341,6 +341,7 @@
>  	/* name fields */
>  	STRING_PROP (E_CONTACT_FULL_NAME,   "cn" ),
>  	/* WRITE_ONLY_STRING_PROP (E_CONTACT_FAMILY_NAME, "sn" ), */
> +	STRING_PROP (E_CONTACT_GIVEN_NAME, "givenName" ),
>  	STRING_PROP (E_CONTACT_FAMILY_NAME, "sn" ),
> 
>  	/* email addresses */
> </snip>
> 
> Cheers,
> Robert
> 
> [1] https://bugzilla.gnome.org/show_bug.cgi?id=612888


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]