--On Friday, May 17, 2013 12:38 AM +0100 Youssef Said Khloufi
<mragrid(a)yahoo.fr> wrote:
>
> - stoping and restarting slapd does not resolve the problem.
> - i checked all schemes loaded in the configuration DIT using the command
> :
> sudo ldapsearch -Y EXTERNAL -H ldapi:/// -b "cn=schema,cn=config"
> and my scheme is not there (it seems to be the problem).
> - i am using openldap-2.4.28 on Ubuntu 12.04.2 LTS.
Please do not top post.
Please always copy the list in replies if you want further help.
I don't see any obvious changes between OpenLDAP 2.4.28 and current release
(2.4.35) addressing why your schema wasn't added, but my first step would
be to confirm whether or not you see this behavior if you use a release of
OpenLDAP that isn't a year and a half old.
It certainly works (in general) for me with OpenLDAP 2.4.35:
zimbra@zre-ldap002:~$ ldapadd -x -H ldapi:/// -D cn=config -w zimbra
dn: cn=stSchema,cn=schema,cn=config
objectClass: olcSchemaConfig
olcObjectClasses: ( 1.3.6.1.4.1.4203.666.1.1 NAME 'stPerson' SUP
inetOrgPerson STRUCTURAL MUST correo)
olcAttributeTypes: ( 1.3.6.1.4.1.4203.666.1.2 NAME 'correo' SUP mail)
adding new entry "cn=stSchema,cn=schema,cn=config"
zimbra@zre-ldap002:~$ ldapsearch -LLL -x -H ldapi:/// -D cn=config -w
zimbra -b "cn=schema,cn=config" 1.1
dn: cn=schema,cn=config
dn: cn={0}core,cn=schema,cn=config
dn: cn={1}cosine,cn=schema,cn=config
dn: cn={2}inetorgperson,cn=schema,cn=config
dn: cn={3}dyngroup,cn=schema,cn=config
dn: cn={4}zimbra,cn=schema,cn=config
dn: cn={5}amavisd,cn=schema,cn=config
dn: cn={6}opendkim,cn=schema,cn=config
dn: cn={7}stSchema,cn=schema,cn=config
--Quanah
--
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration