summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/ldap_server/ldap_simple_ldb.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/ldap_server/ldap_simple_ldb.c b/source4/ldap_server/ldap_simple_ldb.c
index ba4ce5b75e..4d6062cd10 100644
--- a/source4/ldap_server/ldap_simple_ldb.c
+++ b/source4/ldap_server/ldap_simple_ldb.c
@@ -379,15 +379,12 @@ static NTSTATUS sldb_Modify(struct ldapsrv_partition *partition, struct ldapsrv_
result = 2;
goto invalid_input;
case LDAP_MODIFY_ADD:
- DEBUG(0,("mod_add: %s\n",msg->elements[i].name));
msg->elements[i].flags = LDB_FLAG_MOD_ADD;
break;
case LDAP_MODIFY_DELETE:
- DEBUG(0,("mod_del: %s\n",msg->elements[i].name));
msg->elements[i].flags = LDB_FLAG_MOD_DELETE;
break;
case LDAP_MODIFY_REPLACE:
- DEBUG(0,("mod_replace: %s\n",msg->elements[i].name));
msg->elements[i].flags = LDB_FLAG_MOD_REPLACE;
break;
}
@@ -441,7 +438,7 @@ invalid_input:
} else {
errstr = talloc_strdup(modify_reply,"invalid input data");
}
-DEBUG(0,("mod result: %d, %s\n",result, errstr));
+
modify_result->resultcode = result;
modify_result->errormessage = errstr;
modify_result->referral = NULL;