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

Stefan Seelmann commented on DIRSERVER-1234:
--------------------------------------------

What would be the best solution for this? I have two ideas:

1st: 
Modify the SearchHandler, that it doesn't add (objectClass=referral) when 
searching cn=schema

2nd:
Modify the SchemaInterceptor to handle 
(|(objectClass=subschema)(objectClass=referral))

I already have a patch with the 1st solution, it works fine. However I would 
ask what would be the better way or if there another solution.


> cn=schema is not returned if no ManageDsaIT control is present in the request.
> ------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1234
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1234
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.4
>            Reporter: Stefan Seelmann
>            Assignee: Stefan Seelmann
>             Fix For: 1.5.4
>
>
> When requesting the schema cn=schema and no ManageDsaIT control is present in 
> the request, the server does not return the schema entry. 
> The reason is that the SearchHandler adds an OR'd filter 
> (objectClass=referral) to the user's filter, however in the SchemaInterceptor 
> this enhanced filter (|(objectClass=subschema)(objectClass=referral)) isn't 
> handled.

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

Reply via email to