From: Michael Adam Date: Tue, 7 Jul 2015 15:15:00 +0000 (+0200) Subject: smbd:trans2: treat new SMB_SIGNING_DESIRED in case X-Git-Tag: samba-4.1.20~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f029fc80873dba620226fc946dbe6f00a1c3cf1;p=thirdparty%2Fsamba.git smbd:trans2: treat new SMB_SIGNING_DESIRED in case BUG: https://bugzilla.samba.org/show_bug.cgi?id=11372 Signed-off-by: Michael Adam Reviewed-by: Guenther Deschner (cherry picked from commit 76f8d0fbada15c9466f66a2d9961bebd1425d141) --- diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index a6a8b5db7c6..b6109b2d07a 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -3447,6 +3447,7 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)bsize, (unsigned case SMB_SIGNING_OFF: encrypt_caps = 0; break; + case SMB_SIGNING_DESIRED: case SMB_SIGNING_IF_REQUIRED: case SMB_SIGNING_DEFAULT: encrypt_caps = CIFS_UNIX_TRANSPORT_ENCRYPTION_CAP;