Home
last modified time | relevance | path

Searched refs:SecurityMode (Results 1 – 3 of 3) sorted by relevance

/linux/fs/smb/common/
H A Dsmb2pdu.h613 __le16 SecurityMode; member
627 __le16 SecurityMode; member
655 __u8 SecurityMode; member
1499 __le16 SecurityMode; member
1507 __le16 SecurityMode; member
/linux/fs/smb/client/
H A Dsmb2pdu.c1133 req->SecurityMode = cpu_to_le16(SMB2_NEGOTIATE_SIGNING_REQUIRED); in SMB2_negotiate()
1135 req->SecurityMode = cpu_to_le16(SMB2_NEGOTIATE_SIGNING_ENABLED); in SMB2_negotiate()
1137 req->SecurityMode = 0; in SMB2_negotiate()
1227 cifs_dbg(FYI, "mode 0x%x\n", rsp->SecurityMode); in SMB2_negotiate()
1270 server->sec_mode = le16_to_cpu(rsp->SecurityMode); in SMB2_negotiate()
1372 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
1375 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
1378 pneg_inbuf->SecurityMode = 0; in smb3_validate_negotiate()
1448 u16 sec_mode = le16_to_cpu(pneg_rsp->SecurityMode); in smb3_validate_negotiate()
1571 req->SecurityMode = SMB2_NEGOTIATE_SIGNING_REQUIRED; in SMB2_sess_alloc_buffer()
[all …]
/linux/fs/smb/server/
H A Dsmb2pdu.c307 rsp->SecurityMode = SMB2_NEGOTIATE_SIGNING_ENABLED_LE; in init_smb2_neg_rsp()
309 rsp->SecurityMode |= SMB2_NEGOTIATE_SIGNING_REQUIRED_LE; in init_smb2_neg_rsp()
1233 conn->cli_sec_mode = le16_to_cpu(req->SecurityMode); in smb2_handle_negotiate()
1253 rsp->SecurityMode = SMB2_NEGOTIATE_SIGNING_ENABLED_LE; in smb2_handle_negotiate()
1258 req->SecurityMode & SMB2_NEGOTIATE_SIGNING_REQUIRED_LE) in smb2_handle_negotiate()
1262 rsp->SecurityMode |= SMB2_NEGOTIATE_SIGNING_REQUIRED_LE; in smb2_handle_negotiate()
1266 conn->srv_sec_mode = le16_to_cpu(rsp->SecurityMode); in smb2_handle_negotiate()
1545 (req->SecurityMode & SMB2_NEGOTIATE_SIGNING_REQUIRED)) in ntlm_authenticate()
1644 (req->SecurityMode & SMB2_NEGOTIATE_SIGNING_REQUIRED)) in krb5_authenticate()
8091 if (le16_to_cpu(neg_req->SecurityMode) != conn->cli_sec_mode) { in fsctl_validate_negotiate_info()
[all …]