directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guilherme <guilhe...@ati.com.br>
Subject Custom partition bind is never called
Date Thu, 02 Jun 2011 13:20:38 GMT
Hi. 

I've created a custom partition (extending AbstractPartition), but its
bind(BindOperationContext) method is never called when I try to
bind/authenticate an user in this partition. 

I've attached a debugger to the server and added a breakpoint in the
bind method, but it's never called. The breakpoint at the
search(SearchOperationContext) works fine. 

Trying to run ldapsearch returns 

ldap_bind: Invalid credentials (49)
	additional info: INVALID_CREDENTIALS: Bind failed: ERR_333 Unexpected
exception.

Trying to connect using Eclipse Apache DS plugin gives the same error,
and the stack trace below. 

Does anybody have any suggestions about how to fix or further
investigate this problem? 

Thanks a lot in advance. 

Guilherme


javax.naming.AuthenticationException: [LDAP: error code 49 -
INVALID_CREDENTIALS: Bind failed: ERR_333 Unexpected exception.]
	at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3041)
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2789)
	at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2703)
	at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2602)
	at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2576)
	at com.sun.jndi.ldap.LdapCtx.reconnect(LdapCtx.java:2572)
	at
javax.naming.ldap.InitialLdapContext.reconnect(InitialLdapContext.java:173)
	at
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$7.run(JNDIConnectionWrapper.java:1055)
	at
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1272)
	at
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.doBind(JNDIConnectionWrapper.java:1065)
	at
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.bind(JNDIConnectionWrapper.java:254)
	at
org.apache.directory.studio.connection.core.jobs.OpenConnectionsRunnable.run(OpenConnectionsRunnable.java:114)
	at
org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)





Mime
View raw message