From dev-return-41450-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Wed Oct 3 03:56:09 2012 Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6E0DED1CB for ; Wed, 3 Oct 2012 03:56:09 +0000 (UTC) Received: (qmail 31952 invoked by uid 500); 3 Oct 2012 03:56:09 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 31878 invoked by uid 500); 3 Oct 2012 03:56:08 -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 31849 invoked by uid 99); 3 Oct 2012 03:56:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 03:56:07 +0000 Date: Wed, 3 Oct 2012 14:56:07 +1100 (NCT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Message-ID: <651286354.157704.1349236567781.JavaMail.jiratomcat@arcas> In-Reply-To: <9329506.46513.1325000790947.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (DIRSERVER-1680) allUsersSearchAndCompareACI doesn't work on service restart MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRSERVER-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny resolved DIRSERVER-1680. ------------------------------------------ Resolution: Duplicate Duplicate of DIRSERVER-1524 > allUsersSearchAndCompareACI doesn't work on service restart > ----------------------------------------------------------- > > Key: DIRSERVER-1680 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1680 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.5.7 > Environment: server on Windows XP SP3 > Reporter: Jason Sachs > > I have an allUsersSearchAndCompareACI set up to allow only authenticated users to read the server, and another ACI directoryManagerFullAccessACI set up to allow privileged users/services in the group cn=ldap-admin,ou=groups,o=foobar to access LDAP and have editing rights. I have a number of these privileged users/services, and they can authenticate, but not see any of the LDAP tree (just an empty Root DSE), until I rewrite the ACI info, at which point they work perfectly... until the service or the computer it's on resets, and the problem re-occurs. (The uid=admin,ou=system account can access everything just fine.) > The allUsersSearchAndCompareACI ACI source looks like this: > {code} > { > identificationTag "allUsersSearchAndCompareACI", > precedence 10, > authenticationLevel simple, > itemOrUserFirst userFirst: > { > userClasses { allUsers }, > userPermissions > { > { > protectedItems { entry, allUserAttributeTypesAndValues }, > grantsAndDenials > { > grantDiscloseOnError, > grantRead, > grantReturnDN, > grantBrowse, > grantCompare, > grantFilterMatch > } > } > , > { > protectedItems > { > attributeType { userPassword } > } > , > grantsAndDenials > { > denyFilterMatch, > denyRead, > denyCompare > } > } > } > } > } > {code} > The directoryManagerACI looks like this: > {code} > { > identificationTag "directoryManagerFullAccessACI", > precedence 11, > authenticationLevel simple, > itemOrUserFirst userFirst: > { > userClasses > { > userGroup { "cn=ldap-admin,ou=groups,o=foobar" } > } > , > userPermissions > { > { > protectedItems { entry, allUserAttributeTypesAndValues }, > grantsAndDenials > { > grantModify, > grantRead, > grantBrowse, > grantFilterMatch, > grantExport, > grantRemove, > grantDiscloseOnError, > grantAdd, > grantReturnDN, > grantInvoke, > grantRename, > grantImport, > grantCompare > } > } > } > } > } > {code} > My LDAP tree looks like this (my comments in /* */) > {code} > o=foobar > cn=acientry1 /* contains the two ACI above */ > ou=groups > /* various groups elided */ > cn=ldap-admin > ou=schema > /* other stuff */ > ou=system > uid=admin > /* other stuff */ > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira