Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
6604d0e6
Commit
6604d0e6
authored
Feb 17, 2009
by
Quanah Gibson-Mount
Browse files
ITS#5954
parent
82d17d86
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
6604d0e6
...
...
@@ -3,6 +3,7 @@ OpenLDAP 2.4 Change Log
OpenLDAP 2.4.15 Engineering
Fixed libldap GnuTLS compilation (ITS#5955)
Fixed slapd corrupt contextCSN (ITS#5947)
Fixed slapd syncrepl order to match on add/delete (ITS#5954)
Fixed slapo-rwm objectClass preservation (ITS#5760)
OpenLDAP 2.4.14 Release (2009/02/14)
...
...
servers/slapd/syncrepl.c
View file @
6604d0e6
...
...
@@ -4325,13 +4325,22 @@ add_syncrepl(
BER_BVISNULL
(
&
si
->
si_bindconf
.
sb_uri
)
?
"(null)"
:
si
->
si_bindconf
.
sb_uri
.
bv_val
,
0
,
0
);
if
(
c
->
be
->
be_syncinfo
)
{
syncinfo_t
*
sip
;
si
->
si_cookieState
=
c
->
be
->
be_syncinfo
->
si_cookieState
;
// add new syncrepl to end of list (same order as when deleting)
for
(
sip
=
c
->
be
->
be_syncinfo
;
sip
->
si_next
;
sip
=
sip
->
si_next
);
sip
->
si_next
=
si
;
}
else
{
si
->
si_cookieState
=
ch_calloc
(
1
,
sizeof
(
cookie_state
));
ldap_pvt_thread_mutex_init
(
&
si
->
si_cookieState
->
cs_mutex
);
c
->
be
->
be_syncinfo
=
si
;
}
si
->
si_next
=
c
->
be
->
be_syncinfo
;
c
->
be
->
be_syncinfo
=
si
;
si
->
si_next
=
NULL
;
return
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