1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

anybody have encountered this error

Discussion in 'Java' started by ssunila, Aug 24, 2007.

  1. ssunila

    ssunila New Member

    Joined:
    Aug 23, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    when i try to add attribute using java code into LDAP i am getting error. How it can be solved ?

    javax.naming.OperationNotSupportedException: [LDAP: error code 53 - failed to modify entry 2.5.4.3=schema: Cannot permit the addition of an attributeType with an no EQUALITY matchingRule
    and no super type from which to derive an EQUALITY matchingRule.]; remaining name ''
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(Unknown Source)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(Unknown Source)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(Unknown Source)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(Unknown Source)
    at com.sun.jndi.ldap.LdapSchemaCtx$SchemaInfo.modifyAttributes(Unknown Source)
    at com.sun.jndi.ldap.LdapSchemaCtx.addServerSchema(Unknown Source)
    at com.sun.jndi.ldap.LdapSchemaCtx.doCreateSubcontext(Unknown Source)
    at com.sun.jndi.toolkit.dir.HierMemDirCtx.createSubcontext(Unknown Source)
    at com.sun.jndi.toolkit.dir.HierMemDirCtx.createSubcontext(Unknown Source)
     

Share This Page