summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-11-10 13:02:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:05 -0500
commitbd7525e1b478a56c441d510de67c5acbc3247898 (patch)
treeb016a03dc0bc480aa7b1d085de5423757c7173d4 /source4/smb_server
parent389f9dff294310757c8d7bf71bbd403b9ed07b8a (diff)
downloadsamba-bd7525e1b478a56c441d510de67c5acbc3247898.tar.gz
samba-bd7525e1b478a56c441d510de67c5acbc3247898.tar.bz2
samba-bd7525e1b478a56c441d510de67c5acbc3247898.zip
r11641: remove unused parameter vuid
metze (This used to be commit 9399e4d260011ce59229086e39585e1e56bd79a5)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/service.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/source4/smb_server/service.c b/source4/smb_server/service.c
index ff6f34061c..b4372344fb 100644
--- a/source4/smb_server/service.c
+++ b/source4/smb_server/service.c
@@ -104,7 +104,7 @@ static NTSTATUS make_connection_snum(struct smbsrv_request *req,
****************************************************************************/
static NTSTATUS make_connection(struct smbsrv_request *req,
const char *service, DATA_BLOB password,
- const char *dev, uint16_t vuid)
+ const char *dev)
{
int snum;
enum ntvfs_type type;
@@ -154,22 +154,17 @@ static NTSTATUS make_connection(struct smbsrv_request *req,
NTSTATUS tcon_backend(struct smbsrv_request *req, union smb_tcon *con)
{
NTSTATUS status;
- uint16_t vuid = UID_FIELD_INVALID;
/* can only do bare tcon in share level security */
if (req->session == NULL && lp_security() != SEC_SHARE) {
return NT_STATUS_ACCESS_DENIED;
}
- if (req->session) {
- vuid = req->session->vuid;
- }
-
if (con->generic.level == RAW_TCON_TCON) {
DATA_BLOB password;
password = data_blob(con->tcon.in.password, strlen(con->tcon.in.password) + 1);
- status = make_connection(req, con->tcon.in.service, password, con->tcon.in.dev, vuid);
+ status = make_connection(req, con->tcon.in.service, password, con->tcon.in.dev);
if (!NT_STATUS_IS_OK(status)) {
return status;
@@ -182,7 +177,7 @@ NTSTATUS tcon_backend(struct smbsrv_request *req, union smb_tcon *con)
}
status = make_connection(req, con->tconx.in.path, con->tconx.in.password,
- con->tconx.in.device, vuid);
+ con->tconx.in.device);
if (!NT_STATUS_IS_OK(status)) {
return status;
}