]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd:trans2: treat new SMB_SIGNING_DESIRED in case
authorMichael Adam <obnox@samba.org>
Tue, 7 Jul 2015 15:15:00 +0000 (17:15 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 7 Jul 2015 18:36:26 +0000 (20:36 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/smbd/trans2.c

index 88c69a9b757a83f53192ec8168410fce529d0c3d..8816402a52f41d3d3b795066907640f20132ecc6 100644 (file)
@@ -3639,6 +3639,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;