Hi,
On 09/11/2009 10:00, cornjump wrote:
For that, I have added the evolutionperson.schema given in the egroupware package. After adding the evolutionperson.schema and restarting openldap, I've no error messages. Then, if I want to add the objectClass evolutionPerson to an uid in the addressbook, I have the following error :
############### $slapadd -n 1 -l /tmp/importbase.ldif str2entry: invalid value for attributeType objectClass #2 (syntax 1.3.6.1.4.1.1466.115.121.1.38) slapadd: could not parse entry (line=8463) ##############
Here is the modified entry (line 8463) in /tmp/importbase.ldif ############## dn: uid=6f945b6f9556393d9151252790d2f7a4,cn=aldevar,ou=personal,ou=contacts,ou =Users,dc=domain,dc=fr uid: 6f945b6f9556393d9151252790d2f7a4 objectClass: inetOrgPerson objectClass: person objectClass: evolutionPerson
This is indeed typical of the error you would get if the schema file wasn't loaded.
And finally here is slapd.conf :
################ include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema inculde /etc/openldap/schema/evolutionperson.schema
I presume this is a typo: "include" not "inculde". Probably your problem - although I'm surprised that slapd doesn't complain about this error when reading the configuration file.
Hope this helps, Jonathan