Re: [Evolution] Evolution uses incorrect attributes when storing contact-lists to LDAP-Server



On Tue, 2011-02-08 at 14:41 +0100, Karl Meyerbeer wrote:
Create Contact: vcard = BEGIN:VCARD
VERSION:3.0
EMAIL;X-EVOLUTION-DEST-HTML-MAIL=FALSE;X-EVOLUTION-DEST-EMAIL-NUM=0;X-EVOLU
TION-DEST-CONTACT-UID="uid=person.1297170404,ou=adressen,dc=grolle":Test
P
 erson <test person de>
X-EVOLUTION-LIST-SHOW_ADDRESSES:FALSE
X-EVOLUTION-LIST:TRUE
N:liste;test;;;
FN:test liste
X-EVOLUTION-FILE-AS:test liste
END:VCARD
generated dn: uid=liste.1297170503
generated full dn: uid=liste.1297170503,ou=adressen,dc=grolle
Sending the following to the server as ADD
Adding DN: uid=liste.1297170503,ou=adressen,dc=grolle
add      uid:
                'liste.1297170503'
add      cn:
                'test liste'
add      givenName:
                'test'
add      sn:
                'liste'
add ber  member:
                'uid=person.1297170404,ou=adressen,dc=grolle'
add      objectClass:
                'top'
                'groupOfNames'
e_book_backend_ldap_reconnect ... 
ldap_add_ext returned 0

(e-addressbook-factory:7658): libebookbackend-WARNING **:
create_contact_handler: 41 (Object class violation), additional info:
attribute 'uid' not allowed

        Hi,
I take the rest (all errors except the above) as expected behaviour,
which might be better to have done through UI checks, but it doesn't
produce any issue as such.

From the above quotation, does it mean that if you'll not autocomplete a
contact from any addressbook when adding to the new list, then it'll
work as expected?

It seems to me that the offending 'uid' is coming from
   X-EVOLUTION-DEST-CONTACT-UID
set on the EMAIL.

Not that I know how to read evolutionperson.schema, but from a quick
reading on evolutionPersonList it seems to me that it expects either
'mail' or 'contact' for each member and thus it may work, as long as the
backend chooses correct schema when building a list (it seems it doesn't
for you on the first look).

Only few quick thoughts.
        Bye,
        Milan




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