From 62d803c4901fcd8c4724aae0356e87ee9443e208 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 16 Dec 2004 12:25:23 +0000 Subject: r4228: make sure the caller knows the packet is in error when a signing error occurs (This used to be commit 5e13571e6b9f5eb35f710c2c8bd85b5569665613) --- source4/libcli/raw/clitransport.c | 1 + 1 file changed, 1 insertion(+) 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; }; -- cgit