Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tero Saarni
OpenLDAP
Commits
bf295cde
Commit
bf295cde
authored
Apr 16, 2010
by
Quanah Gibson-Mount
Browse files
ITS#6516
parent
d9748a16
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
bf295cde
...
...
@@ -21,6 +21,7 @@ OpenLDAP 2.4.22 Engineering
Fixed slapo-accesslog to not replicate internal purges (ITS#6519)
Fixed slapd-bdb contextCSN updates from updatedn (ITS#6469)
Fixed slapd-bdb lockobj zeroing (ITS#6501)
Fixed slapd-ldap/meta with ordered values (ITS#6516)
Fixed slapo-collect REP_ENTRY flag handling (ITS#5340,ITS#6423)
Fixed slapo-dds with NULL backend (ITS#6490)
Fixed slapo-dynlist REP_ENTRY flag handling (ITS#5340,ITS#6423)
...
...
servers/slapd/back-ldap/search.c
View file @
bf295cde
...
...
@@ -744,12 +744,12 @@ ldap_build_entry(
int
rc
;
if
(
pretty
)
{
rc
=
pretty
(
attr
->
a_desc
->
ad_type
->
sat_syntax
,
rc
=
ordered_value_
pretty
(
attr
->
a_desc
,
&
attr
->
a_vals
[
i
],
&
pval
,
NULL
);
}
else
{
rc
=
validate
(
attr
->
a_desc
->
ad_type
->
sat_syntax
,
&
attr
->
a_vals
[
i
]
);
rc
=
ordered_value_
validate
(
attr
->
a_desc
,
&
attr
->
a_vals
[
i
]
,
0
);
}
if
(
rc
!=
LDAP_SUCCESS
)
{
...
...
@@ -793,9 +793,9 @@ ldap_build_entry(
for
(
i
=
0
;
i
<
last
;
i
++
)
{
int
rc
;
rc
=
attr
->
a_desc
->
ad_type
->
sat_equality
->
smr
_normalize
(
rc
=
ordered_value
_normalize
(
SLAP_MR_VALUE_OF_ATTRIBUTE_SYNTAX
,
attr
->
a_desc
->
ad_type
->
sat_syntax
,
attr
->
a_desc
,
attr
->
a_desc
->
ad_type
->
sat_equality
,
&
attr
->
a_vals
[
i
],
&
attr
->
a_nvals
[
i
],
NULL
);
...
...
servers/slapd/back-meta/search.c
View file @
bf295cde
...
...
@@ -2045,12 +2045,12 @@ remove_oc:;
int
rc
;
if
(
pretty
)
{
rc
=
pretty
(
attr
->
a_desc
->
ad_type
->
sat_syntax
,
rc
=
ordered_value_
pretty
(
attr
->
a_desc
,
&
attr
->
a_vals
[
i
],
&
pval
,
NULL
);
}
else
{
rc
=
validate
(
attr
->
a_desc
->
ad_type
->
sat_syntax
,
&
attr
->
a_vals
[
i
]
);
rc
=
ordered_value_
validate
(
attr
->
a_desc
,
&
attr
->
a_vals
[
i
]
,
0
);
}
if
(
rc
)
{
...
...
@@ -2085,9 +2085,9 @@ remove_oc:;
attr
->
a_nvals
=
ch_malloc
(
(
last
+
1
)
*
sizeof
(
struct
berval
)
);
for
(
i
=
0
;
i
<
last
;
i
++
)
{
/* if normalizer fails, drop this value */
if
(
attr
->
a_desc
->
ad_type
->
sat_equality
->
smr
_normalize
(
if
(
ordered_value
_normalize
(
SLAP_MR_VALUE_OF_ATTRIBUTE_SYNTAX
,
attr
->
a_desc
->
ad_type
->
sat_syntax
,
attr
->
a_desc
,
attr
->
a_desc
->
ad_type
->
sat_equality
,
&
attr
->
a_vals
[
i
],
&
attr
->
a_nvals
[
i
],
NULL
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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