mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
s3: Add "smbd_server_connection" to smb_request
This commit is contained in:
parent
312a508e88
commit
edfc7eaf6d
@ -612,6 +612,7 @@ struct smb_request {
|
||||
size_t unread_bytes;
|
||||
bool encrypted;
|
||||
connection_struct *conn;
|
||||
struct smbd_server_connection *sconn;
|
||||
struct smb_perfcount_data pcd;
|
||||
|
||||
/*
|
||||
|
@ -465,6 +465,7 @@ static bool init_smb_request(struct smb_request *req, const uint8 *inbuf,
|
||||
req->buf = (const uint8_t *)smb_buf(inbuf);
|
||||
req->unread_bytes = unread_bytes;
|
||||
req->encrypted = encrypted;
|
||||
req->sconn = sconn;
|
||||
req->conn = conn_find(sconn,req->tid);
|
||||
req->chain_fsp = NULL;
|
||||
req->chain_outbuf = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user