summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2019-12-30 10:28:25 +0100
committerJeremy Allison <jra@samba.org>2020-01-13 19:41:35 +0000
commit96fd0ddd02eae05024102b5ed8dc7fb158ed1785 (patch)
tree0fd7abc589f4f3a51e40fab32e347488c20a7fd6 /source3/smbd
parentc1d0a70d19ec03f8a1fd770e53db7a921af1282d (diff)
downloadsamba-96fd0ddd02eae05024102b5ed8dc7fb158ed1785.tar.gz
smbd: remove vuser arg from make_connection_snum()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/service.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 22ff612e619..13cde984f76 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -530,7 +530,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,
+ int snum,
struct smbXsrv_session *session,
const char *pdev)
{
@@ -952,7 +952,6 @@ static connection_struct *make_connection_smb1(struct smb_request *req,
*pstatus = make_connection_snum(req->xconn,
conn,
snum,
- vuser,
req->session,
pdev);
if (!NT_STATUS_IS_OK(*pstatus)) {
@@ -1009,7 +1008,6 @@ connection_struct *make_connection_smb2(struct smbd_smb2_request *req,
*pstatus = make_connection_snum(req->xconn,
conn,
snum,
- vuser,
req->session,
pdev);
if (!NT_STATUS_IS_OK(*pstatus)) {