Skip to content
Snippets Groups Projects
Commit e63eb9b3 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Delete attribute indices upon delete

parent 89ba5add
No related branches found
No related tags found
No related merge requests found
......@@ -150,6 +150,9 @@ ldbm_back_delete(
goto return_results;
}
/* delete attribute indices */
(void) index_entry_del( be, e, e->e_attrs );
send_ldap_result( conn, op, LDAP_SUCCESS,
NULL, NULL, NULL, NULL );
rc = 0;
......
......@@ -44,7 +44,7 @@ int ldbm_modify_internal(
Modifications *ml;
Attribute *save_attrs;
Debug(LDAP_DEBUG_TRACE, "ldbm_modify_internal:\n", 0, 0, 0);
Debug(LDAP_DEBUG_TRACE, "ldbm_modify_internal: %s\n", dn, 0, 0);
if ( !acl_check_modlist( be, conn, op, e, modlist )) {
return LDAP_INSUFFICIENT_ACCESS;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment