Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LDAP and JNDI error,Help needed

 
ravi bask
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
I don't know where to put this one, Sorry for this
when i tried to add a User into LDAP using JNDI, i got a error like the below one , ur help is appreciated
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.jav
a:595)
at com.sun.jndi.toolkit.ctx.PartialCompositeContext.bind(PartialComposit
eContext.java:182)
at com.sun.jndi.toolkit.ctx.PartialCompositeContext.bind(PartialComposit
eContext.java:172)
at javax.naming.InitialContext.bind(InitialContext.java:358)
at com.anthem.ldap.ADDAttributes.main(ADDAttributes.java:34)

thanks
san
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic