You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Christian K. (JIRA)" <ji...@apache.org> on 2010/11/21 12:44:15 UTC

[jira] Commented: (DIRSERVER-1501) Access Control can't retain after restart.

    [ https://issues.apache.org/jira/browse/DIRSERVER-1501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934257#action_12934257 ] 

Christian K. commented on DIRSERVER-1501:
-----------------------------------------

I also came across the problem that is being described in this bug. I was able to debug the issue and this seems to be related to the initialization of the TupleCache class. TupleCache uses a search that only returns user attributes but prescriptiveACI seems to be an operational attribute. Therefore the search does not return the prescriptiveACI attribute.

It looks like the error is near line 126 in:
http://svn.apache.org/viewvc/directory/apacheds/tags/1.5.7/core/src/main/java/org/apache/directory/server/core/authz/TupleCache.java?revision=930421&view=markup

> Access Control can't retain after restart.
> ------------------------------------------
>
>                 Key: DIRSERVER-1501
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1501
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.6
>            Reporter: roy huang
>             Fix For: 2.0.0-RC1
>
>
> When I upgrade 1.5.5 to 1.5.6,I found the access control can't retain if I restart apache ds after I imported the access control.
> After restart,it will throw exception like:
> [20:26:07] WARN [org.apache.directory.server.core.authz.TupleCache] - Found accessControlSubentry 'cn=partenerVisitorAllAttributeAccessControl,ou=partener,dc=gd,dc=test,dc=com' without any prescriptiveACI
> and it will be fine if I don't restart the server.
> This won't happened in 1.5.5.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.