Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
648a81c9
Commit
648a81c9
authored
Mar 05, 2007
by
Pierangelo Masarati
Browse files
fix subtree shortcut (ITS#4856)
parent
94bcff33
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
648a81c9
...
...
@@ -5,6 +5,7 @@ OpenLDAP 2.3.35 Engineering
Fixed str2anlist handling of undefined attrs/OCs (ITS#4854)
Fixed slapd-bdb/hdb startup with missing shm env (ITS#4851)
Fixed slapd-meta/slapo-rwm filter mapping
Fixed slapd-sql subtree shortcut (ITS#4856)
Fixed slapo-refint config message (ITS#4853)
Fixed libldap_r tpool reset (ITS#4855)
...
...
doc/man/man5/slapd-sql.5
View file @
648a81c9
...
...
@@ -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.
...
...
servers/slapd/back-sql/search.c
View file @
648a81c9
...
...
@@ -2183,7 +2183,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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment