Home
last modified time | relevance | path

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

/linux-6.1.9/fs/smbfs_common/
Dsmb2pdu.h571 __le16 SecurityMode; member
585 __le16 SecurityMode; member
613 __u8 SecurityMode; member
1399 __le16 SecurityMode; member
1407 __le16 SecurityMode; member
/linux-6.1.9/fs/cifs/
Dsmb2pdu.c923 req->SecurityMode = cpu_to_le16(SMB2_NEGOTIATE_SIGNING_REQUIRED); in SMB2_negotiate()
925 req->SecurityMode = cpu_to_le16(SMB2_NEGOTIATE_SIGNING_ENABLED); in SMB2_negotiate()
927 req->SecurityMode = 0; in SMB2_negotiate()
1005 cifs_dbg(FYI, "mode 0x%x\n", rsp->SecurityMode); in SMB2_negotiate()
1041 server->sec_mode = le16_to_cpu(rsp->SecurityMode); in SMB2_negotiate()
1139 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
1142 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
1145 pneg_inbuf->SecurityMode = 0; in smb3_validate_negotiate()
1209 if (pneg_rsp->SecurityMode != cpu_to_le16(server->sec_mode)) in smb3_validate_negotiate()
1318 req->SecurityMode = SMB2_NEGOTIATE_SIGNING_REQUIRED; in SMB2_sess_alloc_buffer()
[all …]
Dcifspdu.h498 __u8 SecurityMode; member
Dcifssmb.c495 server->sec_mode = pSMBr->SecurityMode; in CIFSSMBNegotiate()
/linux-6.1.9/fs/ksmbd/
Dsmb_common.h202 __u8 SecurityMode; member
Dsmb2pdu.c285 rsp->SecurityMode = SMB2_NEGOTIATE_SIGNING_ENABLED_LE; in init_smb2_neg_rsp()
287 rsp->SecurityMode |= SMB2_NEGOTIATE_SIGNING_REQUIRED_LE; in init_smb2_neg_rsp()
1195 conn->cli_sec_mode = le16_to_cpu(req->SecurityMode); in smb2_handle_negotiate()
1217 rsp->SecurityMode = SMB2_NEGOTIATE_SIGNING_ENABLED_LE; in smb2_handle_negotiate()
1222 req->SecurityMode & SMB2_NEGOTIATE_SIGNING_REQUIRED_LE) in smb2_handle_negotiate()
1226 rsp->SecurityMode |= SMB2_NEGOTIATE_SIGNING_REQUIRED_LE; in smb2_handle_negotiate()
1230 conn->srv_sec_mode = le16_to_cpu(rsp->SecurityMode); in smb2_handle_negotiate()
1499 (req->SecurityMode & SMB2_NEGOTIATE_SIGNING_REQUIRED)) in ntlm_authenticate()
1591 (req->SecurityMode & SMB2_NEGOTIATE_SIGNING_REQUIRED)) in krb5_authenticate()
7431 if (le16_to_cpu(neg_req->SecurityMode) != conn->cli_sec_mode) { in fsctl_validate_negotiate_info()
[all …]