smbd: Fix signing when the async echo handler kicks in
[obnox/samba/samba-obnox.git] / 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);