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
James Lowden
OpenLDAP
Commits
2b512ea7
Commit
2b512ea7
authored
Sep 17, 2020
by
Howard Chu
Browse files
ITS#9339 Fix syncrepl_monitor_init for dynamic monitor backend
Calling from backend.c only works if back-monitor is a static backend
parent
3e181b84
Changes
2
Hide whitespace changes
Inline
Side-by-side
servers/slapd/backend.c
View file @
2b512ea7
...
...
@@ -116,8 +116,10 @@ int backend_init(void)
LDAP_STAILQ_INSERT_TAIL
(
&
backendInfo
,
bi
,
bi_next
);
}
#if defined(SLAPD_MONITOR) && SLAPD_MONITOR == SLAPD_MOD_STATIC
/* HACK: need schema defined in deterministic order */
syncrepl_monitor_init
();
#endif
if
(
nBackendInfo
>
0
)
{
...
...
servers/slapd/syncrepl.c
View file @
2b512ea7
...
...
@@ -7069,6 +7069,7 @@ add_syncrepl(
si->si_cookieState->cs_ref++;
si->si_next = NULL;
syncrepl_monitor_init();
return 0;
}
...
...
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