/* add.c - tcl add routine
*
- * $Id: tcl_add.c,v 1.3 1999/02/18 01:18:39 bcollins Exp $
+ * $Id: tcl_add.c,v 1.6 1999/07/16 00:45:52 kdz Exp $
*
* Copyright 1999, Ben Collins <bcollins@debian.org>, All rights reserved.
*
if (ti->ti_add == NULL) {
send_ldap_result (conn, op, LDAP_UNWILLING_TO_PERFORM, NULL,
- "add not implemented");
+ "add not implemented", NULL, NULL );
return (-1);
}
if (code != TCL_OK) {
err = LDAP_OPERATIONS_ERROR;
- Debug (LDAP_DEBUG_ANY, "tcl_add_error: %s\n", results, 0, 0);
+ Debug (LDAP_DEBUG_SHELL, "tcl_add_error: %s\n", results, 0, 0);
} else {
interp_send_results (be, conn, op, results, NULL, 0);
}
if (err != LDAP_SUCCESS)
send_ldap_result (conn, op, err, NULL,
- "internal backend error");
+ "internal backend error", NULL, NULL );
free (results);
return (err);