After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 247661 - [LDAP] Cannot save contact with Calendar and Free/Busy URLs
[LDAP] Cannot save contact with Calendar and Free/Busy URLs
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Contacts
3.16.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
evolution[ldap]
: 244730 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-08-15 16:07 UTC by Ronald van Engelen
Modified: 2015-06-16 06:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ronald van Engelen 2003-08-15 16:07:46 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 )
Comment 1 Sivaiah 2005-03-28 20:21:36 UTC
we need to verify this and patch evolution person schema file if still
it is the case. 
Comment 2 Ronald van Engelen 2005-03-28 21:24:27 UTC
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
Comment 3 Sushma Rai 2005-09-21 11:06:41 UTC
*** Bug 244730 has been marked as a duplicate of this bug. ***
Comment 4 André Klapper 2006-06-17 19:24:20 UTC
(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.
Comment 5 André Klapper 2006-06-17 19:27:59 UTC
setting status to NEEDINFO.
Comment 6 Poornima 2006-07-20 06:46:25 UTC
Issue is not yet resolved, marking as 'New'.
Comment 7 Andrew Ruthven 2009-08-25 23:34:57 UTC
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 .
Comment 8 Andrew Ruthven 2009-08-25 23:51:14 UTC
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
Comment 9 Milan Crha 2015-06-16 06:04:49 UTC
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+)