diff options
-rw-r--r-- | source4/smb_server/smb/signing.c | 2 | ||||
-rw-r--r-- | source4/smb_server/smb2/negprot.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/smb_server/smb/signing.c b/source4/smb_server/smb/signing.c index a3c91f6639..ecbb220d8f 100644 --- a/source4/smb_server/smb/signing.c +++ b/source4/smb_server/smb/signing.c @@ -112,7 +112,7 @@ bool smbsrv_init_signing(struct smbsrv_connection *smb_conn) case SMB_SIGNING_OFF: smb_conn->signing.allow_smb_signing = false; break; - case SMB_SIGNING_SUPPORTED: + case SMB_SIGNING_IF_REQUIRED: smb_conn->signing.allow_smb_signing = true; break; case SMB_SIGNING_REQUIRED: diff --git a/source4/smb_server/smb2/negprot.c b/source4/smb_server/smb2/negprot.c index 24521da42e..1a3bc9ce35 100644 --- a/source4/smb_server/smb2/negprot.c +++ b/source4/smb_server/smb2/negprot.c @@ -150,7 +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_SUPPORTED: + case SMB_SIGNING_IF_REQUIRED: io->out.security_mode = SMB2_NEGOTIATE_SIGNING_ENABLED; break; case SMB_SIGNING_REQUIRED: |