Hi all.
First, excuse me for my bad english.
I use openldap 2.3.27 on RHEL5.
Openldap is needed for authentication and addresssbook storage for
egrouware.
I have only one last thing to do : getting contact's categories in the
addressbook.
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
cn: sebastien quettier2
givenName: sebastien
sn: quettier2
mail: sebastien.quettier2(a)revnew.domain.fr
displayName: quettier2, sebastien
structuralObjectClass: inetOrgPerson
entryUUID: d91d6e36-5284-102e-8370-b3fd7d4e5e39
creatorsName: cn=Manager,dc=domain,dc=fr
createTimestamp: 20091021115853Z
entryCSN: 20091021115853Z#0001a6#00#000000
modifiersName: cn=Manager,dc=domain,dc=fr
modifyTimestamp: 20091021115853Z
################
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
include /etc/openldap/schema/mozillaabpersonalpha.schema
include /etc/openldap/schema/rfc2307bis.schema
include /etc/openldap/schema/samba.schema
include /etc/openldap/schema/hopital.schema
allow bind_v2
pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args
moduleload back_bdb.la
moduleload back_ldap.la
moduleload back_ldbm.la
moduleload back_passwd.la
moduleload back_shell.la
access to dn.one="ou=Users,dc=domain,dc=fr"
attrs=entry,sn,mail,cn,givenName,telephoneNumber,uid,objectClass
by anonymous read
access to dn.one="ou=Groups,dc=domain,dc=fr" attrs=cn,memberUid,objectClass
by anonymous read
access to dn.one="ou=People,dc=domain,dc=fr"
attrs=entry,sn,mail,cn,givenName,telephoneNumber
by anonymous read
include /etc/openldap/acl_addressbooks.conf
access to *
by * peername.ip=194.146.14.189 read
access to *
by * none
database bdb
suffix "dc=domain,dc=fr"
rootdn "cn=Manager,dc=domain,dc=fr"
rootpw passord
directory /var/lib/ldap
index default pres,eq
index uid
index cn,sn,mail pres,eq
index objectClass eq
##################
Can someone help me to find a solution for this problem?