Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1139

Loop detected on ldapcompare

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.5.1
    • 1.5.5
    • ldap
    • None
    • 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)

    Description

      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: fladischer.michael@FLADI.AT
      loginshell: /bin/bash
      mail: fladischer.michael@fladi.at
      mail: michael@fladi.at
      mail: michael.fladischer@fladi.at
      mail: webmaster@fladi.at
      mail: root@fladi.at
      mail: abuse@fladi.at
      mail: postmaster@fladi.at
      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)

      Attachments

        Activity

          People

            elecharny Emmanuel Lécharny
            fladi Michael Fladischer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: