Home
last modified time | relevance | path

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

/linux-2.6.39/fs/cifs/
Dconnect.c1557 unsigned int secFlags; in match_security() local
1560 secFlags = vol->secFlg; in match_security()
1562 secFlags = global_secflags | vol->secFlg; in match_security()
1566 if (!(secFlags & (CIFSSEC_MAY_LANMAN|CIFSSEC_MAY_PLNTXT))) in match_security()
1570 if (!(secFlags & CIFSSEC_MAY_NTLMV2)) in match_security()
1574 if (!(secFlags & CIFSSEC_MAY_NTLM)) in match_security()
1578 if (!(secFlags & CIFSSEC_MAY_KRB5)) in match_security()
1582 if (!(secFlags & CIFSSEC_MAY_NTLMSSP)) in match_security()
1591 if ((secFlags & CIFSSEC_MAY_SIGN) == 0 && in match_security()
1594 else if (((secFlags & CIFSSEC_MUST_SIGN) == CIFSSEC_MUST_SIGN) && in match_security()
Dcifssmb.c370 unsigned int secFlags; in CIFSSMBNegotiate() local
385 secFlags = ses->overrideSecFlg; /* BB FIXME fix sign flags? */ in CIFSSMBNegotiate()
387 secFlags = global_secflags | ses->overrideSecFlg; in CIFSSMBNegotiate()
389 cFYI(1, "secFlags 0x%x", secFlags); in CIFSSMBNegotiate()
394 if ((secFlags & CIFSSEC_MUST_KRB5) == CIFSSEC_MUST_KRB5) in CIFSSMBNegotiate()
396 else if ((secFlags & CIFSSEC_AUTH_MASK) == CIFSSEC_MAY_KRB5) { in CIFSSMBNegotiate()
399 } else if ((secFlags & CIFSSEC_MUST_NTLMSSP) == CIFSSEC_MUST_NTLMSSP) in CIFSSMBNegotiate()
401 else if ((secFlags & CIFSSEC_AUTH_MASK) == CIFSSEC_MAY_NTLMSSP) { in CIFSSMBNegotiate()
436 if ((secFlags & CIFSSEC_MAY_LANMAN) || in CIFSSMBNegotiate()
437 (secFlags & CIFSSEC_MAY_PLNTXT)) in CIFSSMBNegotiate()
[all …]