1
0
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:
Volker Lendecke 2010-06-12 11:01:10 +02:00
parent 312a508e88
commit edfc7eaf6d
2 changed files with 2 additions and 0 deletions

View File

@ -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;
/*

View File

@ -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;