File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LDAP: error code 48 - anonymous bind disallowed

 
Prasad Katti
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

we are using Spring, Hibernate and Atomikos in our application. Whenever, anonymous LDAP is disabled, the following error is thrown. is there any way to overcome this error; appreciate any assistance.

Regards
Prasad

===
Caused by: javax.naming.AuthenticationNotSupportedException: [LDAP: error code 48 - anonymous bind disallowed]176451: May 02 08:56:36.452 IST %MIVR-HR_MGR-3-EXCEPTION: at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3032)

176452: May 02 08:56:36.452 IST %MIVR-HR_MGR-3-EXCEPTION: at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)176453: May 02 08:56:36.453 IST %MIVR-HR_MGR-3-EXCEPTION: at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2789)

176454: May 02 08:56:36.453 IST %MIVR-HR_MGR-3-EXCEPTION: at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2703)176455: May 02 08:56:36.453 IST %MIVR-HR_MGR-3-EXCEPTION: at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:293)

176456: May 02 08:56:36.453 IST %MIVR-HR_MGR-3-EXCEPTION: at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)

176457: May 02 08:56:36.453 IST %MIVR-HR_MGR-3-EXCEPTION: at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)176458: May 02 08:56:36.453 IST %MIVR-HR_MGR-3-EXCEPTION: at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)

176459: May 02 08:56:36.453 IST %MIVR-HR_MGR-3-EXCEPTION: at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)

176460: May 02 08:56:36.453 IST %MIVR-HR_MGR-3-EXCEPTION: at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)176461: May 02 08:56:36.453 IST %MIVR-HR_MGR-3-EXCEPTION: at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)

176462: May 02 08:56:36.453 IST %MIVR-HR_MGR-3-EXCEPTION: at javax.naming.InitialContext.init(InitialContext.java:223)

176463: May 02 08:56:36.453 IST %MIVR-HR_MGR-3-EXCEPTION: at javax.naming.InitialContext.<init>(InitialContext.java:175
==
Prasad Katti
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic