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
openldap
OpenLDAP
Commits
3d1a0bb1
Commit
3d1a0bb1
authored
Nov 06, 2013
by
Howard Chu
Browse files
ITS
#7741
Fix entryDN index lookup
DN notfound is authoritative, don't ignore the result
parent
ef90999f
Changes
2
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-bdb/filterindex.c
View file @
3d1a0bb1
...
...
@@ -728,6 +728,10 @@ equality_candidates(
if
(
ei
)
{
bdb_cache_entryinfo_unlock
(
ei
);
}
if
(
rc
==
DB_NOTFOUND
)
{
BDB_IDL_ZERO
(
ids
);
rc
=
0
;
}
return
rc
;
}
...
...
servers/slapd/back-mdb/filterindex.c
View file @
3d1a0bb1
...
...
@@ -696,6 +696,10 @@ equality_candidates(
ids
[
0
]
=
1
;
ids
[
1
]
=
id
;
}
if
(
rc
==
MDB_NOTFOUND
)
{
MDB_IDL_ZERO
(
ids
);
rc
=
0
;
}
return
rc
;
}
...
...
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