diff options
author | Ralph Boehme <slow@samba.org> | 2019-12-29 08:30:22 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2020-01-13 19:41:34 +0000 |
commit | aa27bceff194bf1d6665bcb66dd3ba750a59b598 (patch) | |
tree | 98a31f990008c8d82eb0a656d46356674a33a8f7 /source3/include | |
parent | 15ee379ef11d86670aeea7fa4b8bf740dd259593 (diff) | |
download | samba-aa27bceff194bf1d6665bcb66dd3ba750a59b598.tar.gz |
smbd: add session to struct smb_request
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/vfs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h index a836903a832..656fad8b5ee 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -580,6 +580,13 @@ struct smb_request { connection_struct *conn; struct smbd_server_connection *sconn; struct smbXsrv_connection *xconn; + + /* + * Pointer to session, can be NULL, + * eg during negprot and session setup. + */ + struct smbXsrv_session *session; + struct smb_perfcount_data pcd; /* |