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
f7eb5e33
Commit
f7eb5e33
authored
May 28, 2008
by
Quanah Gibson-Mount
Browse files
ITS#5488
parent
6041828a
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
f7eb5e33
...
...
@@ -15,6 +15,7 @@ OpenLDAP 2.4.10 Engineering
Fixed slapd-ldap entry_get() op-dependent behavior (ITS#5513)
Fixed slapd-meta quarantine crasher (ITS#5522)
Fixed slapo-refint to allow setting modifiers name (ITS#5505)
Fixed slapo-syncprov contextCSN passing on syncprov consumers (ITS#5488)
Fixed slapo-syncprov csn update with delta-syncrepl (ITS#5493)
Fixed slapo-syncprov op2.o_extra reset (ITS#5501, #5506)
Fixed slapo-syncprov searching wrong backend (ITS#5487)
...
...
servers/slapd/overlays/syncprov.c
View file @
f7eb5e33
...
...
@@ -1596,6 +1596,17 @@ syncprov_op_response( Operation *op, SlapReply *rs )
cbuf
[
0
]
=
'\0'
;
ldap_pvt_thread_rdwr_wlock
(
&
si
->
si_csn_rwlock
);
slap_get_commit_csn
(
op
,
&
maxcsn
);
if
(
BER_BVISNULL
(
&
maxcsn
)
&&
SLAP_GLUE_SUBORDINATE
(
op
->
o_bd
))
{
/* syncrepl queues the CSN values in the db where
* it is configured , not where the changes are made.
* So look for a value in the glue db if we didn't
* find any in this db.
*/
BackendDB
*
be
=
op
->
o_bd
;
op
->
o_bd
=
select_backend
(
&
be
->
be_nsuffix
[
0
],
1
);
slap_get_commit_csn
(
op
,
&
maxcsn
);
op
->
o_bd
=
be
;
}
if
(
!
BER_BVISNULL
(
&
maxcsn
)
)
{
int
i
,
sid
;
strcpy
(
cbuf
,
maxcsn
.
bv_val
);
...
...
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