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)