javax.naming.directory.SchemaViolationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • LDAP and JNDI error,Help needed
    via by ravi bask,
  • LDAP Error code 65 - givenName
    via by user2089561,
  • apacheDS unable to create new entry
    via Stack Overflow by Dmitrii Bundin
    ,
  • Operational Attributes
    via by Leonardo Saavedra,
  • I insert in my LDAP a user with objectClass : objectClass ObjectClassPerson objectClass ObjectClassOrgani objectClass ObjectClassShadow objectClass ObjectClassTop objectClass ObjectClassOrg I am using the LDAP output step to insert all objects. But in trying to prove the transformation send me the following error: 2015/05/08 16:04:03 - INSERT USR LDAP.0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Exception : 2015/05/08 16:04:03 - INSERT USR LDAP.0 - Error inserting for entry with DN = [uid=mark1,ou=users,dc=ldap,dc=test,dc=org]! 2015/05/08 16:04:03 - INSERT USR LDAP.0 - [LDAP: error code 65 - no structural object class provided] 2015/05/08 16:04:03 - INSERT USR LDAP.0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : org.pentaho.di.core.exception.KettleException: 2015/05/08 16:04:03 - INSERT USR LDAP.0 - Error inserting for entry with DN = [uid=mark1,ou=users,dc=ldap,dc=test,dc=org]! 2015/05/08 16:04:03 - INSERT USR LDAP.0 - [LDAP: error code 65 - no structural object class provided] 2015/05/08 16:04:03 - INSERT USR LDAP.0 - 2015/05/08 16:04:03 - INSERT USR LDAP.0 - at org.pentaho.di.trans.steps.ldapinput.LDAPConnection.insert(LDAPConnection.java:354) 2015/05/08 16:04:03 - INSERT USR LDAP.0 - at org.pentaho.di.trans.steps.ldapoutput.LDAPOutput.processRow(LDAPOutput.java:251) 2015/05/08 16:04:03 - INSERT USR LDAP.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2015/05/08 16:04:03 - INSERT USR LDAP.0 - at java.lang.Thread.run(Thread.java:722) 2015/05/08 16:04:03 - INSERT USR LDAP.0 - Caused by: javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - no structural object class provided]; remaining name 'uid=mark1,ou=users,dc=ldap,dc=test,dc=org' 2015/05/08 16:04:03 - INSERT USR LDAP.0 - at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3118) 2015/05/08 16:04:03 - INSERT USR LDAP.0 - at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033) 2015/05/08 16:04:03 - INSERT USR LDAP.0 - at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2840) 2015/05/08 16:04:03 - INSERT USR LDAP.0 - at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:811) 2015/05/08 16:04:03 - INSERT USR LDAP.0 - at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:337) 2015/05/08 16:04:03 - INSERT USR LDAP.0 - at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:266) 2015/05/08 16:04:03 - INSERT USR LDAP.0 - at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:254) 2015/05/08 16:04:03 - INSERT USR LDAP.0 - at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:197) 2015/05/08 16:04:03 - INSERT USR LDAP.0 - at org.pentaho.di.trans.steps.ldapinput.LDAPConnection.insert(LDAPConnection.java:351) 2015/05/08 16:04:03 - INSERT USR LDAP.0 - ... 3 more I do not understand why I send this error if they are all objects and attributes needed. I hope you can help. Thank you.
    via by Elias Vargas Loyola,
    • javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Object C lass Violation]; remaining name 'uid=styagi,ou=People,o=aici.com' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2767) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2682) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2488) at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:334) at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:293) at com.sun.jndi.toolkit.ctx.ComponentContext.p_bind(ComponentContext.java:595) at com.sun.jndi.toolkit.ctx.PartialCompositeContext.bind(PartialCompositeContext.java:182) at com.sun.jndi.toolkit.ctx.PartialCompositeContext.bind(PartialCompositeContext.java:172) at javax.naming.InitialContext.bind(InitialContext.java:358) at com.anthem.ldap.ADDAttributes.main(ADDAttributes.java:34)
    No Bugmate found.