Skip to content
Commit 7a1ceba0 authored by Niklas Cassel's avatar Niklas Cassel Committed by Steve French
Browse files

cifs: fix MUST SecurityFlags filtering



If CONFIG_CIFS_WEAK_PW_HASH is not set, CIFSSEC_MUST_LANMAN
and CIFSSEC_MUST_PLNTXT is defined as 0.

When setting new SecurityFlags without any MUST flags,
your flags would be overwritten with CIFSSEC_MUST_LANMAN (0).

Signed-off-by: default avatarNiklas Cassel <niklass@axis.com>
Signed-off-by: default avatarSteve French <steve.french@primarydata.com>
parent ca7df8e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment