diff options
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/raw/smb_signing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/raw/smb_signing.c b/source4/libcli/raw/smb_signing.c index d6d53db329..588a86f51c 100644 --- a/source4/libcli/raw/smb_signing.c +++ b/source4/libcli/raw/smb_signing.c @@ -51,8 +51,8 @@ static bool smbcli_set_smb_signing_common(struct smbcli_transport *transport) return false; } - if (!(transport->negotiate.sec_mode & - (NEGOTIATE_SECURITY_SIGNATURES_REQUIRED|NEGOTIATE_SECURITY_SIGNATURES_ENABLED))) { + if (!(transport->negotiate.sec_mode & NEGOTIATE_SECURITY_SIGNATURES_REQUIRED) + && !transport->negotiate.sign_info.mandatory_signing) { DEBUG(5, ("SMB Signing is not negotiated by the peer\n")); return false; } |