summaryrefslogtreecommitdiff
path: root/source/smb_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-10 04:33:16 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:01 +0100
commit5d589a0d94bd76a9b4c9fc748854e8098ea43c4d (patch)
tree4f3c49ff3e2502b31aa73ffcd44ab2c84e74d514 /source/smb_server
parentca89dff45c62fab7092868c5b588326de5a4b197 (diff)
downloadsamba-5d589a0d94bd76a9b4c9fc748854e8098ea43c4d.tar.gz
r26355: Eliminate global_loadparm in more places.
Diffstat (limited to 'source/smb_server')
-rw-r--r--source/smb_server/smb/service.c2
-rw-r--r--source/smb_server/smb2/tcon.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/smb_server/smb/service.c b/source/smb_server/smb/service.c
index 467cbca4182..35b36530261 100644
--- a/source/smb_server/smb/service.c
+++ b/source/smb_server/smb/service.c
@@ -49,7 +49,7 @@ static NTSTATUS make_connection_scfg(struct smbsrv_request *req,
req->smb_conn->negotiate.protocol,
req->smb_conn->connection->event.ctx,
req->smb_conn->connection->msg_ctx,
- global_loadparm,
+ req->smb_conn->lp_ctx,
req->smb_conn->connection->server_id,
&tcon->ntvfs);
if (!NT_STATUS_IS_OK(status)) {
diff --git a/source/smb_server/smb2/tcon.c b/source/smb_server/smb2/tcon.c
index 4393d38c0db..6d0d98554c8 100644
--- a/source/smb_server/smb2/tcon.c
+++ b/source/smb_server/smb2/tcon.c
@@ -294,7 +294,7 @@ static NTSTATUS smb2srv_tcon_backend(struct smb2srv_request *req, union smb_tcon
req->smb_conn->negotiate.protocol,
req->smb_conn->connection->event.ctx,
req->smb_conn->connection->msg_ctx,
- global_loadparm,
+ req->smb_conn->lp_ctx,
req->smb_conn->connection->server_id,
&tcon->ntvfs);
if (!NT_STATUS_IS_OK(status)) {