View | Details | Raw Unified | Return to bug 48030
Collapse All | Expand All

(-)a/management/univention-directory-listener/src/notifier.c (-2 / +3 lines)
 Lines 185-192   int notifier_listen(univention_ldap_parameters_t *lp, bool write_transaction_fil Link Here 
185
		while ((rv = change_update_dn(&trans)) != LDAP_SUCCESS) {
185
		while ((rv = change_update_dn(&trans)) != LDAP_SUCCESS) {
186
			univention_debug(UV_DEBUG_LISTENER, UV_DEBUG_ERROR, "change_update_dn failed: %d", rv);
186
			univention_debug(UV_DEBUG_LISTENER, UV_DEBUG_ERROR, "change_update_dn failed: %d", rv);
187
			if (rv == LDAP_SERVER_DOWN)
187
			if (rv == LDAP_SERVER_DOWN)
188
				if ((rv = connect_to_ldap(trans.lp)) != 0)
188
				if ((rv = connect_to_ldap(trans.lp)) == 0)
189
					goto out;
189
					continue;
190
			goto out;
190
		}
191
		}
191
192
192
		/* rv had better be LDAP_SUCCESS if we get here */
193
		/* rv had better be LDAP_SUCCESS if we get here */

Return to bug 48030