diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-06-11 15:11:05 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-09-19 09:15:11 +0200 |
commit | 47f00fee35fac3be81db734db8ff100d6c1418b8 (patch) | |
tree | bf90a022880e2f0237c6e850ab5b4b38f295f3d8 | |
parent | 20bcbb09e1e3c08fe506946e7ff8e81c5acdb6c0 (diff) | |
download | samba-47f00fee35fac3be81db734db8ff100d6c1418b8.tar.gz samba-47f00fee35fac3be81db734db8ff100d6c1418b8.tar.xz samba-47f00fee35fac3be81db734db8ff100d6c1418b8.zip |
s3:smbd: use req->sconn in sesssetup.c
xconn->sconn will go away soon.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r-- | source3/smbd/sesssetup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index f00a55c2df..b2617041e5 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -132,7 +132,7 @@ static void reply_sesssetup_and_X_spnego(struct smb_request *req) uint64_t vuid = req->vuid; NTSTATUS status = NT_STATUS_OK; struct smbXsrv_connection *xconn = req->xconn; - struct smbd_server_connection *sconn = xconn->sconn; + struct smbd_server_connection *sconn = req->sconn; uint16_t action = 0; NTTIME now = timeval_to_nttime(&req->request_time); struct smbXsrv_session *session = NULL; @@ -595,7 +595,7 @@ void reply_sesssetup_and_X(struct smb_request *req) struct smbXsrv_session *session = NULL; NTSTATUS nt_status; struct smbXsrv_connection *xconn = req->xconn; - struct smbd_server_connection *sconn = xconn->sconn; + struct smbd_server_connection *sconn = req->sconn; bool doencrypt = xconn->smb1.negprot.encrypted_passwords; bool signing_allowed = false; bool signing_mandatory = false; |