s3:smbd: use req->xconn in smb_request_done()
authorStefan Metzmacher <metze@samba.org>
Thu, 12 Jun 2014 06:51:44 +0000 (08:51 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 6 Aug 2014 07:51:14 +0000 (09:51 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/process.c

index 66cb95f85a48759bf1d5489b4608aa51ea42ec10..77ecdb95b2a8598aec57bc6a8c631dea7ecf0a7e 100644 (file)
@@ -1764,7 +1764,7 @@ void smb_request_done(struct smb_request *req)
 
                next->vuid = SVAL(req->outbuf, smb_uid);
                next->tid  = SVAL(req->outbuf, smb_tid);
-               status = smb1srv_tcon_lookup(req->sconn->conn, req->tid,
+               status = smb1srv_tcon_lookup(req->xconn, req->tid,
                                             now, &tcon);
                if (NT_STATUS_IS_OK(status)) {
                        req->conn = tcon->compat;