Loop detected on ldapcompare
----------------------------
Key: DIRSERVER-1139
URL: https://issues.apache.org/jira/browse/DIRSERVER-1139
Project: Directory ApacheDS
Issue Type: Bug
Components: ldap
Affects Versions: 1.5.1
Environment: Debian GNU/Linux unstable, Kernel 2.6.24, i386
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
Reporter: Michael Fladischer
Priority: Minor
When comparing the member attribute of a groupOfNames object with the DN of an
object a loopDetect result code is returned and the server logs an error.
LDIF of group:
dn: cn=gnump3d,ou=groups,dc=fladi,dc=at
objectClass: groupOfNames
objectClass: top
cn: gnump3d
member: cn=Fladischer Michael,ou=users,dc=fladi,dc=at
LDIF of user:
dn: cn=Fladischer Michael,ou=users,dc=fladi,dc=at
objectClass: organizationalPerson
objectClass: person
objectClass: krb5Principal
objectClass: posixAccount
objectClass: shadowAccount
objectClass: krb5KDCEntry
objectClass: inetOrgPerson
objectClass: top
cn: Fladischer Michael
gidnumber: 100
givenname: Michael
homedirectory: /home/users/fladischer.michael
krb5KeyVersionNumber: 1
krb5PrincipalName: [EMAIL PROTECTED]
loginshell: /bin/bash
mail: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
sn: Fladischer
uid: fladischer.michael
uidnumber: 1001
Command used to compare:
ldapcompare -h localhost -p 10389 -x "cn=gnump3d,ou=groups,dc=fladi,dc=at"
"member:cn=Fladischer Michael,ou=users,dc=fladi,dc=at"
Result returned:
Compare Result: Loop detected (54)
Additional info: failed to compare entry
2.5.4.3=gnump3d,2.5.4.11=groups,0.9.2342.19200300.100.1.25=fladi,0.9.2342.19200300.100.1.25=at:
Unexpected exception.
UNDEFINED
Error logged on server:
[10:02:12] ERROR [org.apache.directory.server.ldap.support.UnbindHandler] -
failed to unbind session properly
org.apache.directory.shared.ldap.exception.LdapNameNotFoundException:
uid=admin,ou=system
at
org.apache.directory.server.core.partition.DefaultPartitionNexus.getPartition(DefaultPartitionNexus.java:1114)
at
org.apache.directory.server.core.partition.DefaultPartitionNexus.unbind(DefaultPartitionNexus.java:773)
at
org.apache.directory.server.core.interceptor.InterceptorChain$1.unbind(InterceptorChain.java:210)
at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1412)
at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:229)
at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1412)
at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:229)
at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1412)
at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:229)
at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1412)
at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:229)
at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1412)
at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:229)
at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1412)
at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:229)
at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1412)
at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:229)
at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1412)
at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:229)
at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1412)
at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:229)
at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1412)
at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:229)
at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1412)
at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:229)
at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1412)
at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:229)
at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1412)
at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:229)
at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.unbind(InterceptorChain.java:1412)
at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(BaseInterceptor.java:229)
at
org.apache.directory.server.core.interceptor.InterceptorChain.unbind(InterceptorChain.java:794)
at
org.apache.directory.server.core.partition.PartitionNexusProxy.unbind(PartitionNexusProxy.java:684)
at
org.apache.directory.server.core.partition.PartitionNexusProxy.unbind(PartitionNexusProxy.java:701)
at
org.apache.directory.server.core.jndi.ServerLdapContext.ldapUnbind(ServerLdapContext.java:210)
at
org.apache.directory.server.ldap.support.UnbindHandler.messageReceived(UnbindHandler.java:58)
at
org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:141)
at
org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler.messageReceived(LdapProtocolProvider.java:428)
at
org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:570)
at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
at
org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
at
org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:58)
at
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:176)
at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
at
org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
at
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220)
at
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.