jQuery in Action, 3rd 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
JavaRanch » Java Forums » Java » Java in General
Bookmark "LDAP and JNDI error,Help needed" Watch "LDAP and JNDI error,Help needed" New topic

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
at com.sun.jndi.toolkit.ctx.PartialCompositeContext.bind(PartialComposit
at com.sun.jndi.toolkit.ctx.PartialCompositeContext.bind(PartialComposit
at javax.naming.InitialContext.bind(InitialContext.java:358)
at com.anthem.ldap.ADDAttributes.main(ADDAttributes.java:34)

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: LDAP and JNDI error,Help needed
jQuery in Action, 3rd edition