New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid sizelimits in aci group evaluation #1039
Comments
Comment from lkrispen (@elkris) at 2014-02-18 22:47:21 Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=1065971 (''Red Hat Enterprise Linux 7'') |
Comment from lkrispen (@elkris) at 2014-02-18 22:49:01 Info from bugzilla, not the full content was copied --- Additional comment from Ludwig on 2014-02-17 03:35:22 EST --- I think the core of the failure is Evaluating groupd is limited to a specific number of members (for some reasons decided long,long ago) and it does a comparison: if (info.c_idx > max_memberlimit && In my opinion there are two problems in DS: --- Additional comment from Martin Kosek on 2014-02-17 04:50:23 EST --- Right, I also wondered about this line in Comment 45. It really seems that max_memberlimit is lower than -1. Ludwig, can you attach with gdb to this process and see what really happens? I can lend you my VMs to be able to quickly debug and see what happens. --- Additional comment from Ludwig on 2014-02-17 07:12:42 EST --- Running with gdb shows that the values for max_memberlimit vary: when it is negative it is related to an extended operation: The value used for the memberlimit comes from the search_sizelimot in the operation, but the structur is in a union and overlayed by the actual extende op. (gdb) p *(((Slapi_PBlock *)0x7f7acf2e82f0)->pb_op) p_search = {search_scope = -820215392, search_deref = 32634, p_abandon = { p_extended = {exop_oid = 0x7f7acf1c81a0 "2.16.840.1.113730.3.8.10.1", exop_value = 0x7f7aa9ffabf0 so part of a pointer is interpreted as int. If the group search should be limited this limit has to be defined independently from the search limit |
Comment from lkrispen (@elkris) at 2014-02-18 22:52:50 attachment |
Comment from lkrispen (@elkris) at 2014-02-18 23:32:14 git push origin 389-ds-base-1.3.1 git push origin 389-ds-base-1.3.1 git push origin 389-ds-base-1.3.1 |
Comment from lkrispen (@elkris) at 2014-06-10 23:48:49 fix was not committed to 1.3.2 |
Comment from lkrispen (@elkris) at 2014-06-11 14:41:28 $git cherry-pick e5b83f5 $ git push origin 389-ds-base-1.3.2 |
Comment from lkrispen (@elkris) at 2017-02-11 23:12:04 Metadata Update from @elkris:
|
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/47704
aci group evaluation fails in some cases because a negative search size limit is applied
The text was updated successfully, but these errors were encountered: