summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-04-19 12:36:08 +0200
committerKarolin Seeger <kseeger@samba.org>2013-04-25 12:49:53 +0200
commitd94190f96a528c98f300a1c7a014284bd81c8b13 (patch)
tree478e4a77225516f00275b5af1fa90ed74f5ffcda
parent9fe3d7dff7a4e531d97ff002b1deac0ac2fbf633 (diff)
downloadsamba-d94190f96a528c98f300a1c7a014284bd81c8b13.tar.gz
smbd: Fix signing when the async echo handler kicks in
This was introduced as a copy&paste error in 5e0258fc932c Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Christian Ambach <ambi@samba.org> (cherry picked from commit 5aa9e552ec70ffbd48495e0d7c28517e726487bf) Fix bug #9824 - SMB signing and the async echo responder don't work together.
-rw-r--r--source3/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index f03a20fe22b..8add79d30b9 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2412,7 +2412,7 @@ static void smbd_server_connection_read_handler(
&unread_bytes,
&encrypted,
&inbuf_len, &seqnum,
- false /* trusted channel */);
+ !from_client /* trusted channel */);
if (from_client) {
smbd_unlock_socket(sconn);