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
3a6b3995
Commit
3a6b3995
authored
Apr 05, 2018
by
Ondřej Kuzník
Browse files
Reflect backend URI change in cn=monitor
parent
bace7959
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/lloadd/monitor.c
View file @
3a6b3995
...
...
@@ -728,6 +728,12 @@ lload_monitor_server_update(
ldap_pvt_thread_mutex_unlock
(
&
b
->
b_mutex
);
/* Right now, there is no way to retrieve the entry from monitor's
* cache to replace URI at the moment it is modified */
a
=
attr_find
(
e
->
e_attrs
,
ad_olmServerURI
);
assert
(
a
!=
NULL
);
ber_bvreplace
(
&
a
->
a_vals
[
0
],
&
b
->
b_uri
);
a
=
attr_find
(
e
->
e_attrs
,
ad_olmActiveConnections
);
assert
(
a
!=
NULL
);
UI2BV
(
&
a
->
a_vals
[
0
],
active
);
...
...
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