summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-13 22:51:29 +0200
committerVolker Lendecke <vl@samba.org>2010-08-13 22:53:06 +0200
commitad871b73a26f3b48a522c8374c00aa5ff7d2eb4c (patch)
tree805dd794d673742fb5eadfb76e7a33853ef56391 /source3/smbd
parent15d3541c678894adebd3e9c446e3aa1c43148837 (diff)
downloadsamba-ad871b73a26f3b48a522c8374c00aa5ff7d2eb4c.tar.gz
samba-ad871b73a26f3b48a522c8374c00aa5ff7d2eb4c.tar.bz2
samba-ad871b73a26f3b48a522c8374c00aa5ff7d2eb4c.zip
s3: Fix some error messages
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/aio.c7
-rw-r--r--source3/smbd/ipc.c7
-rw-r--r--source3/smbd/process.c2
3 files changed, 9 insertions, 7 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index b0755bb738..29b2fc4212 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -361,8 +361,8 @@ NTSTATUS schedule_aio_write_and_X(connection_struct *conn,
true, aio_ex->smbreq->seqnum+1,
IS_CONN_ENCRYPTED(fsp->conn),
&aio_ex->smbreq->pcd)) {
- exit_server_cleanly("handle_aio_write: srv_send_smb "
- "failed.");
+ exit_server_cleanly("schedule_aio_write_and_X: "
+ "srv_send_smb failed.");
}
DEBUG(10,("schedule_aio_write_and_X: scheduled aio_write "
"behind for file %s\n", fsp_str_dbg(fsp)));
@@ -725,7 +725,8 @@ static int handle_aio_write_complete(struct aio_extra *aio_ex, int errcode)
true, aio_ex->smbreq->seqnum+1,
IS_CONN_ENCRYPTED(fsp->conn),
NULL)) {
- exit_server_cleanly("handle_aio_write: srv_send_smb failed.");
+ exit_server_cleanly("handle_aio_write_complete: "
+ "srv_send_smb failed.");
}
DEBUG(10,("handle_aio_write_complete: scheduled aio_write completed "
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index beb802859b..3674c0dea1 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -317,7 +317,8 @@ static void api_dcerpc_cmd_write_done(struct tevent_req *subreq)
true, req->seqnum+1,
IS_CONN_ENCRYPTED(req->conn) || req->encrypted,
&req->pcd)) {
- exit_server_cleanly("construct_reply: srv_send_smb failed.");
+ exit_server_cleanly("api_dcerpc_cmd_write_done: "
+ "srv_send_smb failed.");
}
TALLOC_FREE(req);
}
@@ -344,8 +345,8 @@ static void api_dcerpc_cmd_read_done(struct tevent_req *subreq)
true, req->seqnum+1,
IS_CONN_ENCRYPTED(req->conn)
||req->encrypted, &req->pcd)) {
- exit_server_cleanly("construct_reply: srv_send_smb "
- "failed.");
+ exit_server_cleanly("api_dcerpc_cmd_read_done: "
+ "srv_send_smb failed.");
}
TALLOC_FREE(req);
return;
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 61db7129b1..f40b7dda4b 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2174,7 +2174,7 @@ void chain_reply(struct smb_request *req)
true, req->seqnum+1,
IS_CONN_ENCRYPTED(req->conn)||req->encrypted,
&req->pcd)) {
- exit_server_cleanly("construct_reply: srv_send_smb failed.");
+ exit_server_cleanly("chain_reply: srv_send_smb failed.");
}
TALLOC_FREE(req->chain_outbuf);
req->done = true;