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

Unable to define a correct schema



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