[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
unable to user evolutionperson.schema
- To: openldap-technical@openldap.org
- Subject: unable to user evolutionperson.schema
- From: cornjump <cornjump@gmail.com>
- Date: Mon, 9 Nov 2009 10:00:59 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=/d4/20mdMiZN5HSVZy72llqgyhKLCEsojk/MT00IixU=; b=RBRKVWLkbU2PMOmnpEm1dyMF0qsMFGV72VqOgeZ6bkvLHGFQbazrmX2GFO7toflani L9BDoNRl9iLL4eD5+mTxcjlmsuqwrVsvPWwAcMX8BTBYivI+m+WROJmYwBdfDnDEnQxe bx7DsB9VY/LB/kFiygqL6J1DI1c1nUUaYwVNw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=hCGcEmn4OqB9HOuwr36iuwzMA+53sfjCynZrTtospqjmn/9jnRwQBFoY67EiLs8Qzv g3nBy8c1uAvd8EoPpAXVL7JU0m/F8yM5icrldEQ4eZZ0Yg9GZNUJxN8JHk0kcCshnRpj E4tsVOsLtOpn7d0Gm34CdTWzN35WwE8Zc2fjY=
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@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. attrs=entry,sn,mail,cn,givenName,telephoneNumber,uid,objectClass
by anonymous read
access to dn. attrs=cn,memberUid,objectClass
by anonymous read
access to dn. 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?