s3:smb2_server: add smbd_smb2_request->do_encryption
authorStefan Metzmacher <metze@samba.org>
Wed, 8 Aug 2012 04:35:03 +0000 (06:35 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 9 Aug 2012 06:21:35 +0000 (08:21 +0200)
For now it's always false...

metze

source3/smbd/globals.h
source3/smbd/smb2_server.c

index 7b2d31d6aa37b30d9ce9fe9b5f60addfa2eb5b43..ac8a1b2b18ec4e242da092ec07fbc4d176c1f906 100644 (file)
@@ -456,6 +456,7 @@ struct smbd_smb2_request {
 
        int current_idx;
        bool do_signing;
+       bool do_encryption;
        struct tevent_timer *async_te;
        bool cancelled;
        bool compound_related;
index 4849211e221181d2b34546df2719cf60cdd90eaa..a84776afbad61aaafc03d2b73d2bad48cdcf2d53 100644 (file)
@@ -1042,6 +1042,7 @@ static struct smbd_smb2_request *dup_smb2_req(const struct smbd_smb2_request *re
 
        newreq->sconn = req->sconn;
        newreq->session = req->session;
+       newreq->do_encryption = req->do_encryption;
        newreq->do_signing = req->do_signing;
        newreq->current_idx = req->current_idx;