1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-29 13:49:30 +03:00

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>
This commit is contained in:
Stefan Metzmacher
2014-06-11 15:11:05 +02:00
committed by Michael Adam
parent 20bcbb09e1
commit 47f00fee35

View File

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