浏览代码

Revert "513019 nsslapd-lookthroughlimit is not respected"

This reverts commit 1e3138f1d41562d6f42a8fdf0934af23219bb8e1.

Misunderstood nsslapd-lookthroughlimit.  Regardless of the filter test result,
once hit the lookthroughlimit, search should be aborted there.  That's what
the original code does and that is correct.
Noriko Hosoi 16 年之前
父节点
当前提交
85aefb457a
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      ldap/servers/slapd/back-ldbm/ldbm_search.c

+ 0 - 3
ldap/servers/slapd/back-ldbm/ldbm_search.c

@@ -1410,9 +1410,6 @@ ldbm_back_next_search_entry_ext( Slapi_PBlock *pb, int use_extension )
                   rc = SLAPI_FAIL_GENERAL;
                   goto bail;
               }
-              /* Since the filter test failed, the result won't be sent.
-               * sr_lookthroughcount should be decremented. */
-              --sr->sr_lookthroughcount;
           }
         }
     }