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

Hi there, 

Short Version: I use evolution 2.30.3 (Debian Squeeze) with OpenLDAP
(slapd 2.4.11 on Debian Lenny). If  I try to create a contact list,
Evolution tells me "Error adding list. Other Error." 
The logfile of slapd says "attribute uid not allowed" or "object class
'groupOfNames' requires attribute 'member'" and indicates that evolution
tries to create lists as "groupOfNames", not (as I expected) as

Long Version: 


I hope this is the right list to post my problem.

When kde4 insisted on installing three daemons to show me my emails, I
switched to gnome a week ago. So far I'm very happy with the new
environment, thanks to all who contributed.

About my problem: 

I have an awful lot of mail contacs and some quite large lists. To share
them between different clients I store them in LDAP. 
I installed OpenLDAP, added and included the evolutionperson.schema to
the server, created an OrganizationalUnit for the adressbook
(ou=adressen,dc=grolle) and added that as "New Adressbook" in Evoltion.

When I store simple Contacts everything works as expected.

When I try to create a contact list, I get the errormessage "Error
adding list. Other Error." It says so everytime I hit the "OK"-button in
the Contact-List-Editor -- anyway if I dropped a couple of contacs,
entered mail-adresses or just left the list without entries. 

The slapd log says the following if I try to add a list with entries: 
slapd[26290]: conn=0 op=24 SRCH base="ou=adressen,dc=grolle" scope=1
deref=0 filter="(fileAs=*testlistname*)
slapd[26290]: <= bdb_substring_candidates: (fileAs) not indexed
slapd[26290]: conn=0 op=24 SEARCH RESULT tag=101 err=0 nentries=0 text=
slapd[26290]: conn=0 op=25 ABANDON msg=25
slapd[26290]: conn=0 op=26 ADD dn="uid=1296852698,ou=adressen,dc=grolle"
slapd[26290]: Entry (uid=1296852698,ou=adressen,dc=grolle), attribute
'uid' not allowed
slapd[26290]: conn=0 op=26 RESULT tag=105 err=65 text=attribute 'uid'
not allowed
slapd[26290]: conn=0 op=27 ABANDON msg=27

If I add a list without entries it says:
slapd[26290]: conn=0 op=13 SRCH base="ou=adressen,dc=grolle" scope=1
deref=0 filter="(fileAs=*testlistname*)"
slapd[26290]: <= bdb_substring_candidates: (fileAs) not indexed
slapd[26290]: conn=0 op=13 SEARCH RESULT tag=101 err=0 nentries=0 text=
slapd[26290]: conn=0 op=14 ABANDON msg=14
slapd[26290]: conn=0 op=15 ADD dn="uid=1296852575,ou=adressen,dc=grolle"
slapd[26290]: Entry (uid=1296852575,ou=adressen,dc=grolle): object class
'groupOfNames' requires attribute 'member'
slapd[26290]: conn=0 op=15 RESULT tag=105 err=65 text=object class
'groupOfNames' requires attribute 'member'
slapd[26290]: conn=0 op=16 ABANDON msg=16

Looking at that I assumed Evolution does not use the evolutionPersonList
ObjectClass, but groupOfNames.

Using a bit of input/export-magic with php-scripts I created my lists as

++uid=Mr. First Member.123445656,ou=adressen,dc=grolle
++uid=Member the Second.123445534,ou=adressen,dc=grolle
++uid=Third Member.1324345656,ou=adressen,dc=grolle
and so on

And yes, Evolution shows me my lists :)

So it seems the function to use lists is alright, the code to store them
is wrong. It has to do 'ADD dn="uid=NAME.1296852698....', not 'ADD
dn="uid=1296852698....' in the function that writes to LDAP.

I'm not really a programmer, but will try to find the error in the


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