Hi Emmanuel,

Today I tried to use GroupOfNames and member field for group membership and
created an index for "member", that index looks to be working properly.
Could you please tell me if there is still a bug with the uniqueMember
Index? If there is no bug how can I create such an index and keep all my
queries working.

If there is a bug, perhaps I could convert all my groups into GroupOfNames,
is there any simple way to do so?

Thank you

Best regards

Sergey Mikhno
Software Developer
Galexis AG

On Thu, Apr 25, 2019 at 5:57 PM Sergey Mikhno <sergey.mik...@gmail.com>
wrote:

> Hi Emmanuel,
>
> Thank you for your answer,
> Yes we are using 2.0.0-M24 now, the bug is only an example of our problem.
> Bit the behavior described is very similar to what we have now in 2.0.0-M24
>
> I have also tried to repair the Apacheds using apacheds.sh repair, but it
> didn’t help.
>
> Thank you again
>
> Sergey Mikhno
>
> On Thu, 25 Apr 2019 at 17:51, Emmanuel Lecharny <elecha...@apache.org>
> wrote:
>
>> Hi,
>>
>> The bug was in 2.0.0-M7, which is nearly 7 years old... have you tried
>> with
>> a newer version ?
>>
>> Le jeu. 25 avr. 2019 à 17:45, Sergey Mikhno <sergey.mik...@gmail.com> a
>> écrit :
>>
>> > Dear Users,
>> >
>> > I have a specific question about uniqueMember AT.
>> >
>> > We have a hierarchy of groups and permissions with several group levels.
>> >
>> > To be able to fetch all permissions which belong to hierarchical
>> structure
>> > of groups we are using a following query
>> >
>> > *(**&*
>> >     *(*objectclass*=*groupOfUniqueNames*)*
>> >     *(*uniqueMember*=*cn=group1*)*
>> > )
>> >
>> > and so on until we get the lowest hierarchy level.
>> >
>> > Each request with such a query takes approx. 0.5 seconds, we have
>> several
>> > levels and the performance is far from perfect.
>> >
>> > Our idea was to create an index for the field uniqueMember to able to
>> > accelerate the query.
>> > Unfortunately after creation of the index the before mentioned query
>> brings
>> > empty result.
>> >
>> > I found the following mailing list entry
>> >
>> >
>> https://users.directory.apache.narkive.com/YsRnb95m/apacheds-2-0-0-m7-index-problem
>> > with
>> > a similar problem, it looks like the problem is still not fixed or we
>> are
>> > doing something wrong.
>> >
>> > Could anyone please help us with this question?
>> >
>> > Best regards,
>> >
>> > Sergey Mikhno
>> > Software Developer
>> > Galexis AG
>> >
>> >
>> > --
>> > Sergey Mikhno
>> >
>> --
>> Regards,
>> Cordialement,
>> Emmanuel Lécharny
>> www.iktek.com
>>
> --
> Sergey Mikhno
>


-- 
Sergey Mikhno

Reply via email to