LDAP Error 50

General Discussion about LDAP Administrator

Moderator: Support

LDAP Error 50

Postby Siddiq » Tue Jan 31, 2006 11:38 am

Hi,

While querying OpenLDAP for a record, sometimes I get the following:
Incorrect authentication permissions received
javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights];

at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2996)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2934)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2740)
at com.sun.jndi.ldap.LdapCtx.c_getAttributes(LdapCtx.java:1294)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(ComponentDirContext.java:213)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:121)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:109)
at javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:121)

While the same query is returning me LDAP data most of the times.

Can anybody explain me why is the LDAP search failing for the same query some times.
Thank you and with best wishes,

Siddiq Ahmed.
Siddiq
 
Posts: 1
Joined: Tue Jan 31, 2006 11:21 am
Location: India

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron