mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
smbd: pass smbXsrv_session to make_connection_snum()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
8aae1ef5c0
commit
5992f8fa93
@ -531,6 +531,7 @@ static NTSTATUS notify_init_sconn(struct smbd_server_connection *sconn)
|
||||
static NTSTATUS make_connection_snum(struct smbXsrv_connection *xconn,
|
||||
connection_struct *conn,
|
||||
int snum, struct user_struct *vuser,
|
||||
struct smbXsrv_session *session,
|
||||
const char *pdev)
|
||||
{
|
||||
struct smbd_server_connection *sconn = xconn->client->sconn;
|
||||
@ -952,6 +953,7 @@ static connection_struct *make_connection_smb1(struct smb_request *req,
|
||||
conn,
|
||||
snum,
|
||||
vuser,
|
||||
req->session,
|
||||
pdev);
|
||||
if (!NT_STATUS_IS_OK(*pstatus)) {
|
||||
conn_free(conn);
|
||||
@ -1008,6 +1010,7 @@ connection_struct *make_connection_smb2(struct smbd_smb2_request *req,
|
||||
conn,
|
||||
snum,
|
||||
vuser,
|
||||
req->session,
|
||||
pdev);
|
||||
if (!NT_STATUS_IS_OK(*pstatus)) {
|
||||
conn_free(conn);
|
||||
|
Loading…
x
Reference in New Issue
Block a user