Re: [PATCH] cifs: fix MUST SecurityFlags filtering

2015-01-26 Thread Steve French
merged into cifs-2.6.git On Thu, Jan 22, 2015 at 7:16 AM, Niklas Cassel wrote: > 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_LA

[PATCH] cifs: fix MUST SecurityFlags filtering

2015-01-22 Thread Niklas Cassel
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: Niklas Cassel --- fs/cifs/cifs_debug.c | 6 -- 1 file chan