mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
fix subtree shortcut (ITS#4856)
This commit is contained in:
parent
f88449bcba
commit
d07f85fc91
2 changed files with 1 additions and 2 deletions
|
|
@ -100,7 +100,7 @@ see \fBupper_func\fP, \fBupper_needs_cast\fP, \fBconcat_pattern\fP
|
|||
and \fBstrcast_func\fP in "HELPER CONFIGURATION" for details.
|
||||
|
||||
.TP
|
||||
.B use_subtree_shortcut { NO | yes }
|
||||
.B use_subtree_shortcut { YES | no }
|
||||
Do not use the subtree condition when the searchBase is the database
|
||||
suffix, and the scope is subtree; rather collect all entries.
|
||||
|
||||
|
|
|
|||
|
|
@ -2179,7 +2179,6 @@ backsql_search( Operation *op, SlapReply *rs )
|
|||
case LDAP_SCOPE_SUBTREE:
|
||||
/* FIXME: this should never fail... */
|
||||
if ( !dnIsSuffix( &eid->eid_ndn, &op->o_req_ndn ) ) {
|
||||
assert( 0 );
|
||||
goto next_entry2;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue