Home
last modified time | relevance | path

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

/linux/fs/smb/common/
H A Dsmb2pdu.h611 __le16 SecurityMode; member
625 __le16 SecurityMode; member
653 __u8 SecurityMode; member
1678 __le16 SecurityMode; member
1686 __le16 SecurityMode; member
/linux/fs/smb/client/
H A Dsmb2pdu.c1134 req->SecurityMode = cpu_to_le16(SMB2_NEGOTIATE_SIGNING_REQUIRED); in SMB2_negotiate()
1136 req->SecurityMode = cpu_to_le16(SMB2_NEGOTIATE_SIGNING_ENABLED); in SMB2_negotiate()
1138 req->SecurityMode = 0; in SMB2_negotiate()
1228 cifs_dbg(FYI, "mode 0x%x\n", rsp->SecurityMode); in SMB2_negotiate()
1271 server->sec_mode = le16_to_cpu(rsp->SecurityMode); in SMB2_negotiate()
1373 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
1376 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
1379 pneg_inbuf->SecurityMode = 0; in smb3_validate_negotiate()
1449 u16 sec_mode = le16_to_cpu(pneg_rsp->SecurityMode); in smb3_validate_negotiate()
1572 req->SecurityMode = SMB2_NEGOTIATE_SIGNING_REQUIRED; in SMB2_sess_alloc_buffer()
[all …]
/linux/fs/smb/server/
H A Dsmb2pdu.c306 rsp->SecurityMode = SMB2_NEGOTIATE_SIGNING_ENABLED_LE; in init_smb2_neg_rsp()
308 rsp->SecurityMode |= SMB2_NEGOTIATE_SIGNING_REQUIRED_LE; in init_smb2_neg_rsp()
1232 conn->cli_sec_mode = le16_to_cpu(req->SecurityMode); in smb2_handle_negotiate()
1252 rsp->SecurityMode = SMB2_NEGOTIATE_SIGNING_ENABLED_LE; in smb2_handle_negotiate()
1257 req->SecurityMode & SMB2_NEGOTIATE_SIGNING_REQUIRED_LE) in smb2_handle_negotiate()
1261 rsp->SecurityMode |= SMB2_NEGOTIATE_SIGNING_REQUIRED_LE; in smb2_handle_negotiate()
1265 conn->srv_sec_mode = le16_to_cpu(rsp->SecurityMode); in smb2_handle_negotiate()
1544 (req->SecurityMode & SMB2_NEGOTIATE_SIGNING_REQUIRED)) in ntlm_authenticate()
1643 (req->SecurityMode & SMB2_NEGOTIATE_SIGNING_REQUIRED)) in krb5_authenticate()
7990 if (le16_to_cpu(neg_req->SecurityMode) != conn->cli_sec_mode) { in fsctl_validate_negotiate_info()
[all …]