Univention Bugzilla – Attachment #9736: revert_flow_refactoring.diff for bug #48030
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)
if ((rv = connect_to_ldap(trans.lp)) == 0)
goto out;
continue;
}
/* rv had better be LDAP_SUCCESS if we get here */