From bafe8044aba65e0440c87b2ba9d4550e25b9f329 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 1 Mar 2003 20:20:53 +0000 Subject: [PATCH] more OPERATIONS v. OTHER error cleanup --- servers/slapd/back-tcl/tcl_abandon.c | 2 +- servers/slapd/back-tcl/tcl_add.c | 4 ++-- servers/slapd/back-tcl/tcl_bind.c | 4 ++-- servers/slapd/back-tcl/tcl_compare.c | 4 ++-- servers/slapd/back-tcl/tcl_delete.c | 4 ++-- servers/slapd/back-tcl/tcl_modify.c | 4 ++-- servers/slapd/back-tcl/tcl_modrdn.c | 4 ++-- servers/slapd/back-tcl/tcl_search.c | 4 ++-- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/servers/slapd/back-tcl/tcl_abandon.c b/servers/slapd/back-tcl/tcl_abandon.c index f4d71c6577..953df66029 100644 --- a/servers/slapd/back-tcl/tcl_abandon.c +++ b/servers/slapd/back-tcl/tcl_abandon.c @@ -51,7 +51,7 @@ tcl_back_abandon ( free (command); if (code != TCL_OK) { - err = LDAP_OPERATIONS_ERROR; + err = LDAP_OTHER; Debug (LDAP_DEBUG_SHELL, "tcl_abandon_error: %s\n", results, 0, 0); } diff --git a/servers/slapd/back-tcl/tcl_add.c b/servers/slapd/back-tcl/tcl_add.c index 96f0d8ee9f..16321bdcb8 100644 --- a/servers/slapd/back-tcl/tcl_add.c +++ b/servers/slapd/back-tcl/tcl_add.c @@ -36,7 +36,7 @@ tcl_back_add ( } if (tcl_merge_bvlist (be->be_suffix, &suf_tcl) == NULL) { - send_ldap_result (conn, op, LDAP_OPERATIONS_ERROR, NULL, + send_ldap_result (conn, op, LDAP_OTHER, NULL, NULL, NULL, NULL ); return (-1); } @@ -58,7 +58,7 @@ tcl_back_add ( free (command); if (code != TCL_OK) { - err = LDAP_OPERATIONS_ERROR; + err = LDAP_OTHER; Debug (LDAP_DEBUG_SHELL, "tcl_add_error: %s\n", results, 0, 0); } else { interp_send_results (be, conn, op, results, NULL, 0); diff --git a/servers/slapd/back-tcl/tcl_bind.c b/servers/slapd/back-tcl/tcl_bind.c index d64a3b2718..0a8a632cd5 100644 --- a/servers/slapd/back-tcl/tcl_bind.c +++ b/servers/slapd/back-tcl/tcl_bind.c @@ -40,7 +40,7 @@ tcl_back_bind ( } if (tcl_merge_bvlist (be->be_suffix, &suf_tcl) == NULL) { - send_ldap_result (conn, op, LDAP_OPERATIONS_ERROR, NULL, + send_ldap_result (conn, op, LDAP_OTHER, NULL, NULL, NULL, NULL ); return (-1); } @@ -60,7 +60,7 @@ tcl_back_bind ( free (command); if (code != TCL_OK) { - err = LDAP_OPERATIONS_ERROR; + err = LDAP_OTHER; Debug (LDAP_DEBUG_SHELL, "tcl_bind_error: %s\n", results, 0, 0); } else { err = interp_send_results (be, conn, op, results, NULL, 0); diff --git a/servers/slapd/back-tcl/tcl_compare.c b/servers/slapd/back-tcl/tcl_compare.c index 3bb705cce7..60a947dab2 100644 --- a/servers/slapd/back-tcl/tcl_compare.c +++ b/servers/slapd/back-tcl/tcl_compare.c @@ -38,7 +38,7 @@ tcl_back_compare ( } if (tcl_merge_bvlist (be->be_suffix, &suf_tcl) == NULL) { - send_ldap_result (conn, op, LDAP_OPERATIONS_ERROR, NULL, + send_ldap_result (conn, op, LDAP_OTHER, NULL, NULL, NULL, NULL ); return (-1); } @@ -59,7 +59,7 @@ tcl_back_compare ( free (command); if (code != TCL_OK) { - err = LDAP_OPERATIONS_ERROR; + err = LDAP_OTHER; Debug (LDAP_DEBUG_SHELL, "tcl_compare_error: %s\n", results, 0, 0); } else { diff --git a/servers/slapd/back-tcl/tcl_delete.c b/servers/slapd/back-tcl/tcl_delete.c index 9047d7d65f..41454bee28 100644 --- a/servers/slapd/back-tcl/tcl_delete.c +++ b/servers/slapd/back-tcl/tcl_delete.c @@ -37,7 +37,7 @@ tcl_back_delete ( } if (tcl_merge_bvlist (be->be_suffix, &suf_tcl) == NULL) { - send_ldap_result (conn, op, LDAP_OPERATIONS_ERROR, NULL, + send_ldap_result (conn, op, LDAP_OTHER, NULL, NULL, NULL, NULL ); return (-1); } @@ -56,7 +56,7 @@ tcl_back_delete ( free (command); if (code != TCL_OK) { - err = LDAP_OPERATIONS_ERROR; + err = LDAP_OTHER; Debug (LDAP_DEBUG_SHELL, "tcl_delete_error: %s\n", results, 0, 0); } else { diff --git a/servers/slapd/back-tcl/tcl_modify.c b/servers/slapd/back-tcl/tcl_modify.c index 06d50a035f..43c452decd 100644 --- a/servers/slapd/back-tcl/tcl_modify.c +++ b/servers/slapd/back-tcl/tcl_modify.c @@ -38,7 +38,7 @@ tcl_back_modify ( } if (tcl_merge_bvlist (be->be_suffix, &suf_tcl) == NULL) { - send_ldap_result (conn, op, LDAP_OPERATIONS_ERROR, NULL, + send_ldap_result (conn, op, LDAP_OTHER, NULL, NULL, NULL, NULL ); return (-1); } @@ -112,7 +112,7 @@ tcl_back_modify ( free (command); if (code != TCL_OK) { - err = LDAP_OPERATIONS_ERROR; + err = LDAP_OTHER; Debug (LDAP_DEBUG_SHELL, "tcl_modify_error: %s\n", results, 0, 0); } else { diff --git a/servers/slapd/back-tcl/tcl_modrdn.c b/servers/slapd/back-tcl/tcl_modrdn.c index 361789b77d..2e74e0aa8d 100644 --- a/servers/slapd/back-tcl/tcl_modrdn.c +++ b/servers/slapd/back-tcl/tcl_modrdn.c @@ -55,7 +55,7 @@ tcl_back_modrdn ( } if (tcl_merge_bvlist (be->be_suffix, &suf_tcl) == NULL) { - send_ldap_result (conn, op, LDAP_OPERATIONS_ERROR, NULL, + send_ldap_result (conn, op, LDAP_OTHER, NULL, NULL, NULL, NULL ); return (-1); } @@ -85,7 +85,7 @@ tcl_back_modrdn ( free (command); if (code != TCL_OK) { - err = LDAP_OPERATIONS_ERROR; + err = LDAP_OTHER; Debug (LDAP_DEBUG_SHELL, "tcl_modrdn_error: %s\n", results, 0, 0); } else { diff --git a/servers/slapd/back-tcl/tcl_search.c b/servers/slapd/back-tcl/tcl_search.c index 533268d291..8600a96b4f 100644 --- a/servers/slapd/back-tcl/tcl_search.c +++ b/servers/slapd/back-tcl/tcl_search.c @@ -57,7 +57,7 @@ tcl_back_search ( if (tcl_merge_bvlist (be->be_suffix, &suf_tcl) == NULL) { Tcl_Free (attrs_tcl); - send_ldap_result (conn, op, LDAP_OPERATIONS_ERROR, NULL, + send_ldap_result (conn, op, LDAP_OTHER, NULL, NULL, NULL, NULL ); return (-1); } @@ -81,7 +81,7 @@ tcl_back_search ( free (command); if (code != TCL_OK) { - err = LDAP_OPERATIONS_ERROR; + err = LDAP_OTHER; Debug (LDAP_DEBUG_SHELL, "tcl_search_error: %s\n", results, 0, 0); } else { -- 2.39.5