Please keep replies to the list, so the issue can be tracked.
Thank you for your help. Reversal of the filters is easily done. However the searches I try to cache are taken from Samba. I have no control over the way searches are done in Samba. I understand from the documentation that the search template must be exact the same as the search filter to be cachable. So this solution does not solve my problem, I guess.
Clear. I understand this issue needs to be fixed somehow. The reason for just using the first simple filter in composite filters is probably related to the fact it did not require extensive data manipulation, as probably would the definition of a criterion that accounts for the whole filter. The ITS remains open as a software bug.
p.