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
1dd88a8b
Commit
1dd88a8b
authored
Nov 08, 2008
by
Pierangelo Masarati
Browse files
exactly one ID can match (ITS
#5791
; further fix previous commit)
parent
93f3ae50
Changes
1
Show whitespace changes
Inline
Side-by-side
servers/slapd/back-bdb/filterindex.c
View file @
1dd88a8b
...
...
@@ -720,10 +720,14 @@ equality_candidates(
if
(
ava
->
aa_desc
==
slap_schema
.
si_ad_entryDN
)
{
EntryInfo
*
ei
=
NULL
;
rc
=
bdb_cache_find_ndn
(
op
,
rtxn
,
&
ava
->
aa_value
,
&
ei
);
if
(
rc
==
LDAP_SUCCESS
)
bdb_idl_insert
(
ids
,
ei
->
bei_id
);
if
(
ei
)
if
(
rc
==
LDAP_SUCCESS
)
{
/* exactly one ID can match */
ids
[
0
]
=
1
;
ids
[
1
]
=
ei
->
bei_id
;
}
if
(
ei
)
{
bdb_cache_entryinfo_unlock
(
ei
);
}
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