smbd: Fix signing when the async echo handler kicks in
authorVolker Lendecke <vl@samba.org>
Fri, 19 Apr 2013 10:36:08 +0000 (12:36 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 19 Apr 2013 11:16:38 +0000 (13:16 +0200)
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>
source3/smbd/process.c

index 1ebda799c96937eba911502b2f0fa614f725ed96..478f1db21d98da07a3c0a09006de91e06657f684 100644 (file)
@@ -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);