Univention Bugzilla – Attachment 9736 Details for
Bug 48030
Listener doesn't reconnect to notifier after changing the LDAP server which leads to inconstencies
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
revert_flow_refactoring.diff
revert_flow_refactoring.diff (text/plain), 776 bytes, created by
Arvid Requate
on 2018-11-12 18:21:39 CET
(
hide
)
Description:
revert_flow_refactoring.diff
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2018-11-12 18:21:39 CET
Size:
776 bytes
patch
obsolete
>diff --git a/management/univention-directory-listener/src/notifier.c b/management/univention-directory-listener/src/notifier.c >index 556826b6a0..8b98e3dbef 100644 >--- a/management/univention-directory-listener/src/notifier.c >+++ b/management/univention-directory-listener/src/notifier.c >@@ -185,8 +185,9 @@ int notifier_listen(univention_ldap_parameters_t *lp, bool write_transaction_fil > while ((rv = change_update_dn(&trans)) != LDAP_SUCCESS) { > univention_debug(UV_DEBUG_LISTENER, UV_DEBUG_ERROR, "change_update_dn failed: %d", rv); > if (rv == LDAP_SERVER_DOWN) >- if ((rv = connect_to_ldap(trans.lp)) != 0) >- goto out; >+ if ((rv = connect_to_ldap(trans.lp)) == 0) >+ continue; >+ goto out; > } > > /* rv had better be LDAP_SUCCESS if we get here */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 48030
:
9734
|
9735
| 9736