diff --git a/servers/slapd/back-bdb/filterindex.c b/servers/slapd/back-bdb/filterindex.c index cd41d4eacc..0e4983f0fc 100644 --- a/servers/slapd/back-bdb/filterindex.c +++ b/servers/slapd/back-bdb/filterindex.c @@ -546,6 +546,7 @@ ext_candidates( op->ors_scope = scope; rc = bdb_dn2idl( op, locker, &mra->ma_value, ei, ids, stack ); + op->ors_scope = sc; } return 0; }