]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-tcl/tcl_modify.c
Don't use 'shtool mkln' as ln(1) replacement.
[openldap] / servers / slapd / back-tcl / tcl_modify.c
index 9817f9590bc6f37276be996157096517a5b46e59..00157bf3a1de101d02e4fcb56d1ef75eb9902d3a 100644 (file)
@@ -1,6 +1,5 @@
+/* $OpenLDAP$ */
 /* modify.c - tcl modify routines
- *
- * $Id: tcl_modify.c,v 1.3 1999/02/18 01:18:39 bcollins Exp $
  *
  * Copyright 1999, Ben Collins <bcollins@debian.org>, All rights reserved.
  *
@@ -22,7 +21,8 @@ tcl_back_modify (
        Backend * be,
        Connection * conn,
        Operation * op,
-       char *dn,
+       const char *dn,
+       const char *ndn,
        LDAPModList * modlist
 )
 {
@@ -32,7 +32,7 @@ tcl_back_modify (
 
        if (ti->ti_modify == NULL) {
                send_ldap_result (conn, op, LDAP_UNWILLING_TO_PERFORM, NULL,
-                       "modify not implemented");
+                       "modify not implemented", NULL, NULL );
                return (-1);
        }
 
@@ -102,7 +102,7 @@ tcl_back_modify (
 
        if (code != TCL_OK) {
                err = LDAP_OPERATIONS_ERROR;
-               Debug (LDAP_DEBUG_ANY, "tcl_modify_error: %s\n", results,
+               Debug (LDAP_DEBUG_SHELL, "tcl_modify_error: %s\n", results,
                        0, 0);
        } else {
                interp_send_results (be, conn, op, results, NULL, 0);
@@ -110,7 +110,7 @@ tcl_back_modify (
 
        if (err != LDAP_SUCCESS)
                send_ldap_result (conn, op, err, NULL,
-                       "internal backend error");
+                       "internal backend error", NULL, NULL );
 
        free (results);
        return (err);