Two nits 1, maybe change the conditional to check for >= 3.1.1 instead of == 3.1.1 (since it is unlikely this requirement will revert back once we have later versions of smb3.) 2, 3.2.4.1.1 says signing must be used IF the session has EncryptData==False, but that is not what the code checks for. It checks for is !guest user. Is that the right check? (guest can never have encrypted sessions but !guest can have not-encrypted sessions.) On Sun, Mar 4, 2018 at 8:12 AM, Steve French <smfrench@xxxxxxxxx> wrote: > Proposed fix for the SMB3.11 (non-mandatory signing) case. > > See MS-SMB2 3.2.4.1.1 > > On Sat, Mar 3, 2018 at 3:08 PM, Steve French <smfrench@xxxxxxxxx> wrote: >> SMB3.11 signing now works, thanks to Aurelien's patches (it had >> already worked as guest, but not as a regular user). >> >> It needs one minor fix (to send the signature on SMB3.11 tcon) to fix >> the non-signing case. Am testing that now, but getting SMB3.11 >> signing working is a big step and important for security. >> >> -- >> Thanks, >> >> Steve > > > > -- > Thanks, > > Steve -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html