[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Unable to define a correct schema
Hi
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.
Jatin
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
>
>