Introduce setting "desired" for 'smb encrypt' and 'client/server signing'
[kai/samba-autobuild/.git] / source4 / smb_server / smb2 / negprot.c
index 81f2547a8e0c5afe98cbc5d6c6eee0b600599136..b48b1700bf04bcd9dd9ff9f37641471a235e35db 100644 (file)
@@ -150,6 +150,7 @@ static NTSTATUS smb2srv_negprot_backend(struct smb2srv_request *req, struct smb2
        case SMB_SIGNING_OFF:
                io->out.security_mode = 0;
                break;
+       case SMB_SIGNING_DESIRED:
        case SMB_SIGNING_IF_REQUIRED:
                io->out.security_mode = SMB2_NEGOTIATE_SIGNING_ENABLED;
                break;