summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2015-07-07 17:15:00 +0200
committerKarolin Seeger <kseeger@samba.org>2015-07-19 20:13:10 +0200
commit5f029fc80873dba620226fc946dbe6f00a1c3cf1 (patch)
tree4b96364a61645d4f7d8eb18a17f19f2c0d4e1230
parenta55bed3f8ceccd06a6f73bbec752d9fbc7b97001 (diff)
downloadsamba-5f029fc80873dba620226fc946dbe6f00a1c3cf1.tar.gz
smbd:trans2: treat new SMB_SIGNING_DESIRED in case
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11372 Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> (cherry picked from commit 76f8d0fbada15c9466f66a2d9961bebd1425d141)
-rw-r--r--source3/smbd/trans2.c1
1 files changed, 1 insertions, 0 deletions
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;