r4228: make sure the caller knows the packet is in error when a signing error occurs
authorAndrew Tridgell <tridge@samba.org>
Thu, 16 Dec 2004 12:25:23 +0000 (12:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:07:27 +0000 (13:07 -0500)
source/libcli/raw/clitransport.c

index 0af6df33b2fb2babfd304e0f9c2f0ed9923bf2f7..dde77eaeea52804618332e0932326672784e1ca4 100644 (file)
@@ -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;
        };