Home
last modified time | relevance | path

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

/linux-6.12.1/fs/smb/common/
Dsmb2pdu.h605 __le16 SecurityMode; member
619 __le16 SecurityMode; member
647 __u8 SecurityMode; member
1558 __le16 SecurityMode; member
1566 __le16 SecurityMode; member
/linux-6.12.1/fs/smb/client/
Dsmb2pdu.c1104 req->SecurityMode = cpu_to_le16(SMB2_NEGOTIATE_SIGNING_REQUIRED); in SMB2_negotiate()
1106 req->SecurityMode = cpu_to_le16(SMB2_NEGOTIATE_SIGNING_ENABLED); in SMB2_negotiate()
1108 req->SecurityMode = 0; in SMB2_negotiate()
1186 cifs_dbg(FYI, "mode 0x%x\n", rsp->SecurityMode); in SMB2_negotiate()
1222 server->sec_mode = le16_to_cpu(rsp->SecurityMode); in SMB2_negotiate()
1330 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
1333 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
1336 pneg_inbuf->SecurityMode = 0; in smb3_validate_negotiate()
1400 if (pneg_rsp->SecurityMode != cpu_to_le16(server->sec_mode)) in smb3_validate_negotiate()
1514 req->SecurityMode = SMB2_NEGOTIATE_SIGNING_REQUIRED; in SMB2_sess_alloc_buffer()
[all …]
Dcifspdu.h498 __u8 SecurityMode; member
Dcifssmb.c468 server->sec_mode = pSMBr->SecurityMode; in CIFSSMBNegotiate()
/linux-6.12.1/fs/smb/server/
Dsmb2pdu.c294 rsp->SecurityMode = SMB2_NEGOTIATE_SIGNING_ENABLED_LE; in init_smb2_neg_rsp()
296 rsp->SecurityMode |= SMB2_NEGOTIATE_SIGNING_REQUIRED_LE; in init_smb2_neg_rsp()
1213 conn->cli_sec_mode = le16_to_cpu(req->SecurityMode); in smb2_handle_negotiate()
1233 rsp->SecurityMode = SMB2_NEGOTIATE_SIGNING_ENABLED_LE; in smb2_handle_negotiate()
1238 req->SecurityMode & SMB2_NEGOTIATE_SIGNING_REQUIRED_LE) in smb2_handle_negotiate()
1242 rsp->SecurityMode |= SMB2_NEGOTIATE_SIGNING_REQUIRED_LE; in smb2_handle_negotiate()
1246 conn->srv_sec_mode = le16_to_cpu(rsp->SecurityMode); in smb2_handle_negotiate()
1521 (req->SecurityMode & SMB2_NEGOTIATE_SIGNING_REQUIRED)) in ntlm_authenticate()
1608 (req->SecurityMode & SMB2_NEGOTIATE_SIGNING_REQUIRED)) in krb5_authenticate()
7805 if (le16_to_cpu(neg_req->SecurityMode) != conn->cli_sec_mode) { in fsctl_validate_negotiate_info()
[all …]