[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Unable to define a correct schema


his ldif is not so difficult !
maybe be the core.schema is not include into is slapd.conf file
(description, o , cn are defined in the core.schema schema and enaugh for him)


From: Jatin Nansi <jatin.nansi@timesgroup.com>
To: Crespin.Quartz@Wanadoo.fr
CC: openldap-software@OpenLDAP.org
Subject: Re: Unable to define a correct schema
Date: Fri, 9 Nov 2001 20:46:37 +0530


looks like u have an attribute in yr .ldif that
is not defined for an objectclass. look up all yr attributes
and see for these 4 things:

1.  the attribute is defined.
2.  the attribute is included for the objectclass.
3.  the objectclass is included for the entry.
4.  the objectclass is defined for the ldap server schema.

you have to be going wrong in between these
4 points.


On 2001.11.09 20:26 Yves Crespin wrote:
> I want to use an OpenLDAP instead an old version (V2).
> But When I want to import my ldif file, I have the following message ...
> What wrong?
> 	Thanks,
> 	Yves Crespin
> /C/Projets/openldap-2.0.11 > Skalli,c=fr" -W -f yves.ldif
> Enter LDAP Password: adding new entry "o=Groupe Skalli,c=fr"
> ldap_add: Object class violation
>         additional info: attribute not allowed
> ldif_record() = 65
> /C/Projets/openldap-2.0.11 >
> >>slapd.conf<<
> database        ldbm
> suffix          "o=Groupe Skalli,c=fr"
> rootdn          "cn=Manager,o=Groupe Skalli,c=fr"
> >>data.ldif<<
> dn: o=Groupe Skalli,c=fr
> objectClass: top
> objectClass: organization
> dc: Groupe SKALLI
> o: Groupe SKALLI
> description: Groupe SKALLI
> dn: cn=Manager,o=Groupe Skalli,c=fr
> objectClass: organizationalRole
> cn: Manager
> description: Directory Manager

Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp