From deb0ef9f1f88b54279ae706a8255d2c9f9021739 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 8 Sep 2011 10:31:04 -0700 Subject: [PATCH] Fix 6c8e4f2671b6aed41cd5098725048dbe2513612c --- servers/slapd/back-mdb/search.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/servers/slapd/back-mdb/search.c b/servers/slapd/back-mdb/search.c index 101e955f4f..94ade1433a 100644 --- a/servers/slapd/back-mdb/search.c +++ b/servers/slapd/back-mdb/search.c @@ -313,6 +313,7 @@ mdb_search( Operation *op, SlapReply *rs ) ltid = moi->moi_txn; isc.mt = ltid; isc.mc = NULL; + isc.scopes = scopes; if ( op->ors_deref & LDAP_DEREF_FINDING ) { MDB_IDL_ZERO(candidates); @@ -552,8 +553,6 @@ dn2entry_retry: goto loop_begin; } - isc.scopes = scopes; - for ( id = mdb_idl_first( candidates, &cursor ); id != NOID ; id = mdb_idl_next( candidates, &cursor ) ) { -- 2.39.5