summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/clitransport.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-16 12:25:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:27 -0500
commit62d803c4901fcd8c4724aae0356e87ee9443e208 (patch)
treeaedd30fe36e626fb8e60f550b5f9b93e73416dd2 /source4/libcli/raw/clitransport.c
parent4ffc419ee35080ce85ae0f7507fc38076d12d8e5 (diff)
downloadsamba-62d803c4901fcd8c4724aae0356e87ee9443e208.tar.gz
samba-62d803c4901fcd8c4724aae0356e87ee9443e208.tar.bz2
samba-62d803c4901fcd8c4724aae0356e87ee9443e208.zip
r4228: make sure the caller knows the packet is in error when a signing error occurs
(This used to be commit 5e13571e6b9f5eb35f710c2c8bd85b5569665613)
Diffstat (limited to 'source4/libcli/raw/clitransport.c')
-rw-r--r--source4/libcli/raw/clitransport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/raw/clitransport.c b/source4/libcli/raw/clitransport.c
index 0af6df33b2..dde77eaeea 100644
--- a/source4/libcli/raw/clitransport.c
+++ b/source4/libcli/raw/clitransport.c
@@ -416,6 +416,7 @@ static void smbcli_transport_finish_recv(struct smbcli_transport *transport)
transport->error.etype = ETYPE_SOCKET;
transport->error.e.socket_error = SOCKET_READ_BAD_SIG;
req->state = SMBCLI_REQUEST_ERROR;
+ req->status = NT_STATUS_ACCESS_DENIED;
goto error;
};