Home
last modified time | relevance | path

Searched refs:secFlags (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/fs/cifs/
Dcifssmb.c411 unsigned int secFlags; in CIFSSMBNegotiate() local
426 secFlags = ses->overrideSecFlg; /* BB FIXME fix sign flags? */ in CIFSSMBNegotiate()
428 secFlags = global_secflags | ses->overrideSecFlg; in CIFSSMBNegotiate()
430 cFYI(1, "secFlags 0x%x", secFlags); in CIFSSMBNegotiate()
435 if ((secFlags & CIFSSEC_MUST_KRB5) == CIFSSEC_MUST_KRB5) in CIFSSMBNegotiate()
437 else if ((secFlags & CIFSSEC_AUTH_MASK) == CIFSSEC_MAY_KRB5) { in CIFSSMBNegotiate()
440 } else if ((secFlags & CIFSSEC_MUST_NTLMSSP) == CIFSSEC_MUST_NTLMSSP) in CIFSSMBNegotiate()
442 else if ((secFlags & CIFSSEC_AUTH_MASK) == CIFSSEC_MAY_NTLMSSP) { in CIFSSMBNegotiate()
477 if ((secFlags & CIFSSEC_MAY_LANMAN) || in CIFSSMBNegotiate()
478 (secFlags & CIFSSEC_MAY_PLNTXT)) in CIFSSMBNegotiate()
[all …]
Dconnect.c2021 unsigned int secFlags; in match_security() local
2024 secFlags = vol->secFlg; in match_security()
2026 secFlags = global_secflags | vol->secFlg; in match_security()
2030 if (!(secFlags & (CIFSSEC_MAY_LANMAN|CIFSSEC_MAY_PLNTXT))) in match_security()
2034 if (!(secFlags & CIFSSEC_MAY_NTLMV2)) in match_security()
2038 if (!(secFlags & CIFSSEC_MAY_NTLM)) in match_security()
2042 if (!(secFlags & CIFSSEC_MAY_KRB5)) in match_security()
2046 if (!(secFlags & CIFSSEC_MAY_NTLMSSP)) in match_security()
2055 if ((secFlags & CIFSSEC_MAY_SIGN) == 0 && in match_security()
2058 else if (((secFlags & CIFSSEC_MUST_SIGN) == CIFSSEC_MUST_SIGN) && in match_security()