jQuery in Action, 2nd edition*
The moose likes Java in General and the fly likes LDAP and JNDI error,Help needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "LDAP and JNDI error,Help needed" Watch "LDAP and JNDI error,Help needed" New topic
Author

LDAP and JNDI error,Help needed

ravi bask
Ranch Hand

Joined: Jul 05, 2001
Posts: 58
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LDAP and JNDI error,Help needed