summaryrefslogtreecommitdiff
path: root/source3/smbd/service.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-09-15 03:47:41 +0200
committerMichael Adam <obnox@samba.org>2014-09-19 09:15:11 +0200
commit2dd215919dff3085a532b32d5da45a629a6924c1 (patch)
tree3fb936427c667ddd754c69975547a0a90f118b0c /source3/smbd/service.c
parent21eee0ea054d5963c58901ec272b01425f525ba5 (diff)
downloadsamba-2dd215919dff3085a532b32d5da45a629a6924c1.tar.gz
s3:smbd: pass smbd_smb2_request to make_connection_smb2()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd/service.c')
-rw-r--r--source3/smbd/service.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 6b9df854572..96b43f5cb6e 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -956,13 +956,14 @@ static connection_struct *make_connection_smb1(struct smbd_server_connection *sc
We must set cnum before claiming connection.
****************************************************************************/
-connection_struct *make_connection_smb2(struct smbd_server_connection *sconn,
+connection_struct *make_connection_smb2(struct smbd_smb2_request *req,
struct smbXsrv_tcon *tcon,
int snum,
struct user_struct *vuser,
const char *pdev,
NTSTATUS *pstatus)
{
+ struct smbd_server_connection *sconn = req->sconn;
connection_struct *conn = conn_new(sconn);
if (!conn) {
DEBUG(0,("make_connection_smb2: Couldn't find free connection.\n"));