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
b831c507
Commit
b831c507
authored
Apr 28, 2016
by
Howard Chu
Committed by
Quanah Gibson-Mount
Oct 17, 2016
Browse files
ITS#8413 fix prev commit
Filter needs AttributeAssertions
parent
0ff2afca
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/syncrepl.c
View file @
b831c507
...
...
@@ -2127,6 +2127,7 @@ syncrepl_op_modify( Operation *op, SlapReply *rs )
resolve_ctxt
rx
;
slap_callback
cb
=
{
NULL
,
syncrepl_resolve_cb
,
NULL
,
NULL
};
Filter
lf
[
3
]
=
{
0
};
AttributeAssertion
aa
[
2
]
=
{
0
};
rx
.
rx_si
=
si
;
rx
.
rx_mods
=
newlist
;
...
...
@@ -2158,10 +2159,12 @@ syncrepl_op_modify( Operation *op, SlapReply *rs )
lf
[
0
].
f_choice
=
LDAP_FILTER_AND
;
lf
[
0
].
f_and
=
lf
+
1
;
lf
[
1
].
f_choice
=
LDAP_FILTER_GE
;
lf
[
1
].
f_ava
=
aa
;
lf
[
1
].
f_av_desc
=
slap_schema
.
si_ad_entryCSN
;
lf
[
1
].
f_av_value
=
bv
;
lf
[
1
].
f_next
=
lf
+
2
;
lf
[
2
].
f_choice
=
LDAP_FILTER_EQUALITY
;
lf
[
2
].
f_ava
=
aa
+
1
;
lf
[
2
].
f_av_desc
=
ad_reqDN
;
lf
[
2
].
f_av_value
=
op
->
o_req_ndn
;
lf
[
2
].
f_next
=
si
->
si_logfilter
;
...
...
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