GNOME Bugzilla – Bug 247661
[LDAP] Cannot save contact with Calendar and Free/Busy URLs
Last modified: 2015-06-16 06:05:10 UTC
Description of Problem: evolutionperson.schema uses wrong ldap attributes calFBURL and calCalURI. According to RFC 2739 they should be: calCalURI --> calendarURI calFBURL --> freeBusyURI. This makes wombat return an error when moving a local evo contact with the 'collaboration' field filled in to a ldap-directory and thus not updating the directory. Steps to reproduce the problem: 1. Include evolutionperson.schema in your slapd.conf 2. Create a evo contact in a local Contacts folder 3. Fill-in the Collaboration fields and save the contact 4. Drag the contact to a writable ldap directory Actual Results: wombat displays: ldap_add_ext returned 0 create_card: Undefined attribute type (17) additional info: calFBURL: attribute type undefined The directory is not updated Expected Results: The contact is copied correctly to the directory How often does this happen? Always Additional Information: This patches the schema file: *** evolutionperson.schema 2003-08-15 17:40:37.000000000 +0200 --- evolutionperson.schema.patched 2003-08-15 17:41:28.000000000 +0200 *************** *** 166,179 **** # deprecated - use calEntry and its attributes from RFC 2739 attributetype ( 1.3.6.1.4.1.8506.1.2.26 ! NAME ('calCalURI' 'calendarURI') EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) # deprecated - use calEntry and its attributes from RFC 2739 attributetype ( 1.3.6.1.4.1.8506.1.2.27 ! NAME ('calFBURL' 'freeBusyURI') EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) --- 166,179 ---- # deprecated - use calEntry and its attributes from RFC 2739 attributetype ( 1.3.6.1.4.1.8506.1.2.26 ! NAME 'calCalURI' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) # deprecated - use calEntry and its attributes from RFC 2739 attributetype ( 1.3.6.1.4.1.8506.1.2.27 ! NAME 'calFBURL' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
we need to verify this and patch evolution person schema file if still it is the case.
Trying it with evolution-data-server 1.2.1(-ubuntu1) the error is kind of the same: vcard = BEGIN:VCARD VERSION:3.0 URL: TITLE: ROLE: X-EVOLUTION-MANAGER: X-EVOLUTION-ASSISTANT: NICKNAME: X-EVOLUTION-SPOUSE: NOTE: FN:Test Contact N:Contact;Test;;; X-EVOLUTION-FILE-AS:Test Contact X-EVOLUTION-BLOG-URL: CALURI:http://www.domein.nl/agenda/ FBURL:http://www.domein.nl/vrijbezet/ X-EVOLUTION-VIDEO-URL: X-MOZILLA-HTML:FALSE EMAIL;TYPE=WORK;X-EVOLUTION-UI-SLOT=1:test@domein.nl UID:pas-id-424862D800000000 REV:2005-03-28T20:02:32Z END:VCARD generated dn: cn=Test Contact,ou=adresboek,dc=lacocina,dc=nl Sending the following to the server as ADD add cn: 'Test Contact' add sn: 'Contact' add ber mail: 'test@domein.nl' add fileAs: 'Test Contact' add calCalURI: 'http://www.domein.nl/agenda/' add calFBURL: 'http://www.domein.nl/vrijbezet/' add objectClass: 'top' 'person' 'organizationalPerson' 'inetOrgPerson' 'evolutionPerson' ldap_add_ext returned 0 looked up msgid 12, got op 0x80e4f00 in server_log_handler (evolution-data-server:25627): libebookbackend-WARNING **: create_contact_handler: 11 (Undefined attribute type), additional info: calCalURI: attribute type undefined
*** Bug 244730 has been marked as a duplicate of this bug. ***
(been triaging the remaining bugs targetted to 2.2) reassigning the last six bugs which need to be retested to poornima (i myself cannot test them because i don't have a "company setup" here). adding harish to CC. poornima, please update the status of these bugs and retarget them, as i already requested some time ago. thanks.
setting status to NEEDINFO.
Issue is not yet resolved, marking as 'New'.
I've just been investigating adding FreeBusy URIs to a LDAP directory that is used by Evolution. I've found this email from 2002: http://lists.ximian.com/pipermail/evolution/2002-April/017782.html It refers to calentry.schema as documented in RFC 2739. So evolution-data-server should remove the the FreeBusyURI (or mark them as deprecated) and also ship calentry.schema alongside evolutionperson.schema .
Please note however that the schema on that above post won't work with OpenLDAP. Someone has cleaned it up, and is attached to this message: http://lists.samba.org/archive/samba/2005-August/109960.html
Those attributes are correct, they just were not defined in the schema. Created commit e72613e in eds master (3.17.3+) Created commit 6569f0f in eds gnome-3-16 (3.16.4+)