Add missing arg (refs or ctrls) to send_ldap_result() calls.
NOTE: Did not implement referral/ldapcontrol support in back-tcl.
/* add.c - tcl add routine
*
- * $Id: tcl_add.c,v 1.5.6.1 1999/07/09 18:02:59 kdz 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", NULL );
+ "add not implemented", NULL, NULL );
return (-1);
}
if (err != LDAP_SUCCESS)
send_ldap_result (conn, op, err, NULL,
- "internal backend error", NULL );
+ "internal backend error", NULL, NULL );
free (results);
return (err);
/* bind.c - tcl bind routines
*
- * $Id: tcl_bind.c,v 1.6.2.1 1999/07/09 18:02:59 kdz Exp $
+ * $Id: tcl_bind.c,v 1.7 1999/07/16 00:45:52 kdz Exp $
*
* Copyright 1999, Ben Collins <bcollins@debian.org>, All rights reserved.
*
if (ti->ti_bind == NULL) {
send_ldap_result (conn, op, LDAP_UNWILLING_TO_PERFORM, NULL,
- "bind not implemented", NULL );
+ "bind not implemented", NULL, NULL );
return (-1);
}
if (err != LDAP_SUCCESS)
send_ldap_result (conn, op, err, NULL,
- "internal backend error", NULL );
+ "internal backend error", NULL, NULL );
free (results);
return (err);
/* compare.c - tcl compare routines
*
- * $Id: tcl_compare.c,v 1.5.6.1 1999/07/09 18:02:59 kdz Exp $
+ * $Id: tcl_compare.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_compare == NULL) {
send_ldap_result (conn, op, LDAP_UNWILLING_TO_PERFORM, NULL,
- "compare not implemented", NULL );
+ "compare not implemented", NULL, NULL );
return (-1);
}
if (err != LDAP_SUCCESS)
send_ldap_result (conn, op, err, NULL,
- "internal backend error", NULL );
+ "internal backend error", NULL, NULL );
free (results);
return (err);
/* delete.c - tcl delete routines
*
- * $Id: tcl_delete.c,v 1.5.6.1 1999/07/09 18:02:59 kdz Exp $
+ * $Id: tcl_delete.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_delete == NULL) {
send_ldap_result (conn, op, LDAP_UNWILLING_TO_PERFORM, NULL,
- "delete not implemented", NULL );
+ "delete not implemented", NULL, NULL );
return (-1);
}
if (err != LDAP_SUCCESS)
send_ldap_result (conn, op, err, NULL,
- "internal backend error", NULL );
+ "internal backend error", NULL, NULL );
free (results);
return (err);
/* modify.c - tcl modify routines
*
- * $Id: tcl_modify.c,v 1.5.6.1 1999/07/09 18:02:59 kdz Exp $
+ * $Id: tcl_modify.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_modify == NULL) {
send_ldap_result (conn, op, LDAP_UNWILLING_TO_PERFORM, NULL,
- "modify not implemented", NULL );
+ "modify not implemented", NULL, NULL );
return (-1);
}
if (err != LDAP_SUCCESS)
send_ldap_result (conn, op, err, NULL,
- "internal backend error", NULL );
+ "internal backend error", NULL, NULL );
free (results);
return (err);
/* modrdn.c - tcl modify rdn routines
*
- * $Id: tcl_modrdn.c,v 1.7.6.1 1999/07/09 18:02:59 kdz Exp $
+ * $Id: tcl_modrdn.c,v 1.8 1999/07/16 00:45:52 kdz Exp $
*
* Copyright 1999, Ben Collins <bcollins@debian.org>, All rights reserved.
*
if (ti->ti_modrdn == NULL) {
send_ldap_result (conn, op, LDAP_UNWILLING_TO_PERFORM, NULL,
- "modrdn not implemented", NULL );
+ "modrdn not implemented", NULL, NULL );
return (-1);
}
if (err != LDAP_SUCCESS)
send_ldap_result (conn, op, err, NULL,
- "internal backend error", NULL );
+ "internal backend error", NULL, NULL );
free (results);
return (err);
/* search.c - tcl search routines
*
- * $Id: tcl_search.c,v 1.5.6.1 1999/07/09 18:02:59 kdz Exp $
+ * $Id: tcl_search.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_search == NULL) {
send_ldap_result (conn, op, LDAP_UNWILLING_TO_PERFORM, NULL,
- "search not implemented", NULL );
+ "search not implemented", NULL, NULL );
return (-1);
}
if (err != LDAP_SUCCESS)
send_ldap_result (conn, op, err, NULL,
- "internal backend error", NULL );
+ "internal backend error", NULL, NULL );
free (results);
return (err);
/* result.c - tcl backend utility functions
*
- * $Id: tcl_util.c,v 1.6.2.2 1999/07/14 00:54:37 kdz Exp $
+ * $Id: tcl_util.c,v 1.7 1999/07/16 00:45:52 kdz Exp $
*
* Copyright 1999, Ben Collins <bcollins@debian.org>, All rights reserved.
*
if (code != TCL_OK) {
argcPtr = 0;
send_ldap_result (conn, op, LDAP_UNWILLING_TO_PERFORM, NULL,
- "internal backend error", NULL );
+ "internal backend error", NULL, NULL );
return -1;
}
for (i = 0; i < argcPtr; i++) {
buf, 0, 0);
} else {
send_search_entry (be, conn, op, e, attrs,
- attrsonly, 0, NULL );
+ attrsonly, NULL );
entry_free (e);
}
* otherwise, front end will send this result
*/
if (err != 0 || op->o_tag != LDAP_REQ_BIND) {
- send_ldap_result (conn, op, err, matched, info, NULL );
+ send_ldap_result (conn, op, err, matched, info, NULL, NULL );
}
free (buf);