Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
182ec30a
Commit
182ec30a
authored
Oct 09, 2018
by
Ondřej Kuzník
Committed by
Quanah Gibson-Mount
Jun 23, 2020
Browse files
ITS
#8768
Accept delcsn from the server
parent
d1e874c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/syncrepl.c
View file @
182ec30a
...
...
@@ -4381,7 +4381,12 @@ syncrepl_del_nonpresent(
if
(
!
LDAP_LIST_EMPTY
(
&
si
->
si_nonpresentlist
)
)
{
if
(
sc
->
ctxcsn
&&
!
BER_BVISNULL
(
&
sc
->
ctxcsn
[
m
]
)
)
{
if
(
!
BER_BVISNULL
(
&
sc
->
delcsn
)
)
{
Debug
(
LDAP_DEBUG_SYNC
,
"syncrepl_del_nonpresent: %s "
"using delcsn=%s
\n
"
,
si
->
si_ridtxt
,
sc
->
delcsn
.
bv_val
);
csn
=
sc
->
delcsn
;
}
else
if
(
sc
->
ctxcsn
&&
!
BER_BVISNULL
(
&
sc
->
ctxcsn
[
m
]
)
)
{
csn
=
sc
->
ctxcsn
[
m
];
}
else
{
csn
=
si
->
si_syncCookie
.
ctxcsn
[
0
];
...
...
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