Hi,

On 04/11/2020 02:40, Josh Stratton wrote:
I have an embedded ApacheDS instance configured and I'm trying to get it running using a minimal LDIF configuration. I started with the sample included in the ApacheDS jar file, but I get a LdapNoSuchAttributeException exception.

Here's the sample LDIF file:


    version: 1
    dn: ou=schema
    createtimestamp: 20090818022726Z
    ou: schema
    entrycsn: 20090818052725.311000Z#000000#000#000000
    objectclass: organizationalUnit
    objectclass: top
    creatorsname: uid=admin,ou=system


And here's the error:


    org.apache.directory.shared.ldap.exception.LdapNoSuchAttributeException:
    ERR_04269 ATTRIBUTE_TYPE for OID objectclass does not exist!


You haven't embedded the default schema that contains the base AttributeTypes and ObjectClasses needed for teh server to accept any entry.

What modules have you loaded in your embedded serrver ?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to