Yes sure, i'm sorry :) I imported a schema (from an OpenLdap file) using Apache Schema Editor. My schema is called "schemaTAS". I want now to use this news attributes and class in my directory.
So i export the schema (Export>Schemas for Apache DS) my export looks like this : ---------------------------------------------------------------- # Generated by Apache Directory Studio on April 27, 2012 3:17:28 PM # SCHEMA "SCHEMATAS" dn: cn=schemaTAS, ou=schema objectclass: metaSchema objectclass: top cn: schemaTAS m-dependencies: system m-dependencies: cosine m-dependencies: inetorgperson m-dependencies: core dn: ou=attributeTypes, cn=schemaTAS, ou=schema objectclass: organizationalUnit objectclass: top ou: attributetypes dn: m-oid=1.3.6.1.4.1.1.0.4.3.2.1801, ou=attributeTypes, cn=schemaTAS, ou=schema objectclass: metaAttributeType objectclass: metaTop objectclass: top m-oid: 1.3.6.1.4.1.1.0.4.3.2.1801 m-name: IpAddress m-description: Adresse IP du serveur de l m-syntax: 1.3.6.1.4.1.1466.115.121.1.15 m-singleValue: TRUE dn: m-oid=1.3.6.1.4.1.1.0.4.3.2.1802, ou=attributeTypes, cn=schemaTAS, ou=schema objectclass: metaAttributeType objectclass: metaTop objectclass: top m-oid: 1.3.6.1.4.1.1.0.4.3.2.1802 m-name: EndValidateDate m-syntax: 1.3.6.1.4.1.1466.115.121.1.15 m-singleValue: TRUE ... -------------------------------------------------------------------------- When i try to import this in the entry ou=schema i have this error log and nothing in the ou=attributTypes nor ou=objectClasses... -------------------------------------------------------------------------- # Generated by Apache Directory Studio on April 27, 2012 3:17:28 PM # SCHEMA "SCHEMATAS" #!RESULT OK #!CONNECTION ldap://localhost:10389 #!DATE 2012-04-27T15:19:30.961 dn: cn=schemaTAS, ou=schema objectclass: metaSchema objectclass: top cn: schemaTAS m-dependencies: system m-dependencies: cosine m-dependencies: inetorgperson m-dependencies: core #!RESULT OK #!CONNECTION ldap://localhost:10389 #!DATE 2012-04-27T15:19:31.021 dn: ou=attributeTypes, cn=schemaTAS, ou=schema objectclass: organizationalUnit objectclass: top ou: attributetypes #!RESULT ERROR #!CONNECTION ldap://localhost:10389 #!DATE 2012-04-27T15:19:31.031 #!ERROR [LDAP: error code 53 - UNWILLING_TO_PERFORM: failed for Add Request : ClientEntry dn: m-oid=1.3.6.1.4.1.1.0.4.3.2.1801, ou=attributeTypes, cn=schemaTAS, ou=schema objectclass: metaAttributeType objectclass: metaTop objectclass: top m-singleValue: TRUE m-oid: 1.3.6.1.4.1.1.0.4.3.2.1801 m-description: Adresse IP du serveur de l m-syntax: 1.3.6.1.4.1.1466.115.121.1.15 m-name: IpAddress : ERR_10026 Cannot add the AttributeType m-oid=1.3.6.1.4.1.1.0.4.3.2.1801, ou=attributeTypes, cn=schemaTAS, ou=schema, as the associated schema (schematas) is not loaded] dn: m-oid=1.3.6.1.4.1.1.0.4.3.2.1801, ou=attributeTypes, cn=schemaTAS, ou=sc hema objectclass: metaAttributeType objectclass: metaTop objectclass: top m-oid: 1.3.6.1.4.1.1.0.4.3.2.1801 m-name: IpAddress m-description: Adresse IP du serveur de l m-syntax: 1.3.6.1.4.1.1466.115.121.1.15 m-singleValue: TRUE #!RESULT ERROR #!CONNECTION ldap://localhost:10389 #!DATE 2012-04-27T15:19:31.041 #!ERROR [LDAP: error code 53 - UNWILLING_TO_PERFORM: failed for Add Request : ClientEntry dn: m-oid=1.3.6.1.4.1.1.0.4.3.2.1802, ou=attributeTypes, cn=schemaTAS, ou=schema objectclass: metaAttributeType objectclass: metaTop objectclass: top m-singleValue: TRUE m-oid: 1.3.6.1.4.1.1.0.4.3.2.1802 m-syntax: 1.3.6.1.4.1.1466.115.121.1.15 m-name: EndValidateDate : ERR_10026 Cannot add the AttributeType m-oid=1.3.6.1.4.1.1.0.4.3.2.1802, ou=attributeTypes, cn=schemaTAS, ou=schema, as the associated schema (schematas) is not loaded] dn: m-oid=1.3.6.1.4.1.1.0.4.3.2.1802, ou=attributeTypes, cn=schemaTAS, ou=sc hema objectclass: metaAttributeType objectclass: metaTop objectclass: top m-oid: 1.3.6.1.4.1.1.0.4.3.2.1802 m-name: EndValidateDate m-syntax: 1.3.6.1.4.1.1466.115.121.1.15 m-singleValue: TRUE ... ------------------------------------------------------------------- the error i see and i don't undersand is "as the associated schema (schematas) is not loaded" Any ideas ? Thanks
