aspose file tools*
The moose likes Object Relational Mapping and the fly likes LDAP: error code 48 - anonymous bind disallowed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "LDAP: error code 48 - anonymous bind disallowed" Watch "LDAP: error code 48 - anonymous bind disallowed" New topic
Author

LDAP: error code 48 - anonymous bind disallowed

Prasad Katti
Greenhorn

Joined: Jan 16, 2002
Posts: 12
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
 
subject: LDAP: error code 48 - anonymous bind disallowed