[SCM] Samba Shared Repository - branch master updated
Stefan Metzmacher
metze at samba.org
Fri Dec 9 07:14:03 MST 2011
The branch, master has been updated
via 4e57bb0b s4:libcli/smb2: mark a request as error if we can't ship it
via 4486336 s4:libcli/raw: mark a request as error if we can't ship it
from ad5d315 s3-dbwrap: Fix a typo
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 4e57bb0b364e84f3cc8928f0f1a29055d69c7efd
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Dec 9 11:05:47 2011 +0100
s4:libcli/smb2: mark a request as error if we can't ship it
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Fri Dec 9 15:13:11 CET 2011 on sn-devel-104
commit 4486336bd820c8be6145e3946dc831bda16602ca
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Dec 9 11:05:47 2011 +0100
s4:libcli/raw: mark a request as error if we can't ship it
metze
-----------------------------------------------------------------------
Summary of changes:
source4/libcli/raw/clitransport.c | 2 ++
source4/libcli/smb2/transport.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/libcli/raw/clitransport.c b/source4/libcli/raw/clitransport.c
index f1f41bc..a9ff8f3 100644
--- a/source4/libcli/raw/clitransport.c
+++ b/source4/libcli/raw/clitransport.c
@@ -337,6 +337,8 @@ void smbcli_transport_send(struct smbcli_request *req)
status = smb1cli_req_chain_submit(req->subreqs, num_subreqs);
if (!NT_STATUS_IS_OK(status)) {
+ req->status = status;
+ req->state = SMBCLI_REQUEST_ERROR;
smbXcli_conn_disconnect(transport->conn, status);
}
}
diff --git a/source4/libcli/smb2/transport.c b/source4/libcli/smb2/transport.c
index 55281d2..59d49f7 100644
--- a/source4/libcli/smb2/transport.c
+++ b/source4/libcli/smb2/transport.c
@@ -227,6 +227,8 @@ void smb2_transport_send(struct smb2_request *req)
TALLOC_FREE(transport->compound.reqs);
if (!NT_STATUS_IS_OK(status)) {
+ req->status = status;
+ req->state = SMB2_REQUEST_ERROR;
smbXcli_conn_disconnect(transport->conn, status);
}
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list