Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/common/
H A Dsmb2pdu.h605 __le16 SecurityMode; member
619 __le16 SecurityMode; member
647 __u8 SecurityMode; member
1556 __le16 SecurityMode; member
1564 __le16 SecurityMode; member
/openbmc/linux/fs/smb/client/
H A Dsmb2pdu.c1101 req->SecurityMode = cpu_to_le16(SMB2_NEGOTIATE_SIGNING_REQUIRED); in SMB2_negotiate()
1103 req->SecurityMode = cpu_to_le16(SMB2_NEGOTIATE_SIGNING_ENABLED); in SMB2_negotiate()
1105 req->SecurityMode = 0; in SMB2_negotiate()
1183 cifs_dbg(FYI, "mode 0x%x\n", rsp->SecurityMode); in SMB2_negotiate()
1219 server->sec_mode = le16_to_cpu(rsp->SecurityMode); in SMB2_negotiate()
1325 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
1328 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
1331 pneg_inbuf->SecurityMode = 0; in smb3_validate_negotiate()
1395 if (pneg_rsp->SecurityMode != cpu_to_le16(server->sec_mode)) in smb3_validate_negotiate()
1509 req->SecurityMode = SMB2_NEGOTIATE_SIGNING_REQUIRED; in SMB2_sess_alloc_buffer()
[all …]
H A Dcifspdu.h498 __u8 SecurityMode; member
H A Dcifssmb.c466 server->sec_mode = pSMBr->SecurityMode; in CIFSSMBNegotiate()
/openbmc/linux/fs/smb/server/
H A Dsmb2pdu.c296 rsp->SecurityMode = SMB2_NEGOTIATE_SIGNING_ENABLED_LE; in init_smb2_neg_rsp()
298 rsp->SecurityMode |= SMB2_NEGOTIATE_SIGNING_REQUIRED_LE; in init_smb2_neg_rsp()
1216 conn->cli_sec_mode = le16_to_cpu(req->SecurityMode); in smb2_handle_negotiate()
1236 rsp->SecurityMode = SMB2_NEGOTIATE_SIGNING_ENABLED_LE; in smb2_handle_negotiate()
1241 req->SecurityMode & SMB2_NEGOTIATE_SIGNING_REQUIRED_LE) in smb2_handle_negotiate()
1245 rsp->SecurityMode |= SMB2_NEGOTIATE_SIGNING_REQUIRED_LE; in smb2_handle_negotiate()
1249 conn->srv_sec_mode = le16_to_cpu(rsp->SecurityMode); in smb2_handle_negotiate()
1527 (req->SecurityMode & SMB2_NEGOTIATE_SIGNING_REQUIRED)) in ntlm_authenticate()
1614 (req->SecurityMode & SMB2_NEGOTIATE_SIGNING_REQUIRED)) in krb5_authenticate()
7862 if (le16_to_cpu(neg_req->SecurityMode) ! in fsctl_validate_negotiate_info()
[all...]