Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 91007 invoked from network); 23 May 2007 07:37:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 May 2007 07:37:39 -0000 Received: (qmail 91467 invoked by uid 500); 23 May 2007 07:37:44 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 91422 invoked by uid 500); 23 May 2007 07:37:44 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 91404 invoked by uid 99); 23 May 2007 07:37:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2007 00:37:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2007 00:37:37 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4B06B71403E for ; Wed, 23 May 2007 00:37:16 -0700 (PDT) Message-ID: <27950716.1179905836305.JavaMail.jira@brutus> Date: Wed, 23 May 2007 00:37:16 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSERVER-907) Overflowing the stack with ACI In-Reply-To: <19021592.1177221735483.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498144 ] Emmanuel Lecharny commented on DIRSERVER-907: --------------------------------------------- At least, some data would help (a ldif file) If you get an infinite loop, then a jvm dump would help (kill -3 on the JVM on linux, I don't know how to get it on windows) > Overflowing the stack with ACI > ------------------------------ > > Key: DIRSERVER-907 > URL: https://issues.apache.org/jira/browse/DIRSERVER-907 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.0.1 > Environment: Linux, Java 6 > Reporter: Mark Swanson > Priority: Minor > > Hello, > I enabled ACI and ldapsearch now puts the server into an infinite loop: > ldapsearch -h rock -p 11389 -x -D "uid=70,dc=home2,dc=mark" -b "dc=home2,dc=mark" -v -W "objectClass=*" > org.apache.directory.server.core.interceptor.InterceptorException: Unexpected exception. [Root exception is java.lang.StackOverflowError] > at org.apache.directory.server.core.interceptor.InterceptorChain.throwInterceptorException(InterceptorChain.java:1510) > at org.apache.directory.server.core.interceptor.InterceptorChain.access$700(InterceptorChain.java:52) > at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.getMatchedName(InterceptorChain.java:1106) > at org.apache.directory.server.core.interceptor.BaseInterceptor.getMatchedName(BaseInterceptor.java:116) > at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.getMatchedName(InterceptorChain.java:1098) > at org.apache.directory.server.core.interceptor.BaseInterceptor.getMatchedName(BaseInterceptor.java:116) > at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.getMatchedName(InterceptorChain.java:1098) > Configured with this: > dn: cn=swAuthorizationRequirementsACISubentry,dc=home2,dc=mark > changetype: add > objectclass: top > objectclass: subentry > objectclass: accessControlSubentry > cn: swAuthorizationRequirementsACISubentry > subtreeSpecification: {} > prescriptiveACI: { > identificationTag "directoryManagerFullAccessACI", > precedence 11, > authenticationLevel simple, > itemOrUserFirst userFirst: > { > userClasses > { > name { "uid=44,dc=home2,dc=mark" } > }, > userPermissions { > { > protectedItems { entry, allUserAttributeTypesAndValues }, > grantsAndDenials { > grantAdd, grantDiscloseOnError, grantRead, > grantRemove, grantBrowse, grantExport, grantImport, > grantModify, grantRename, grantReturnDN, > grantCompare, grantFilterMatch, grantInvoke > } > } > } > } > } > prescriptiveACI: { > identificationTag "allUsersACI", > precedence 10, > authenticationLevel none, > itemOrUserFirst userFirst: > { > userClasses { > allUsers > }, > userPermissions { > { > protectedItems { entry, allUserAttributeTypesAndValues }, > grantsAndDenials { grantRead, grantBrowse, grantReturnDN, > grantCompare, grantFilterMatch, grantDiscloseOnError } > }, > { > protectedItems { attributeType { userPassword } }, > grantsAndDenials { denyRead, denyCompare, denyFilterMatch } > } > } > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.