summaryrefslogtreecommitdiff
path: root/source4/rpc_server/srvsvc
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-03 20:12:30 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-03 20:15:25 +0100
commit6a1a7ce9ebb331eba7bf94d16bede2d6472da106 (patch)
tree30014ee666271a2603285f8e3c992501a05a3e9f /source4/rpc_server/srvsvc
parent9b4d208ce8482e63a56fff3447179ff786062c48 (diff)
downloadsamba-6a1a7ce9ebb331eba7bf94d16bede2d6472da106.tar.gz
samba-6a1a7ce9ebb331eba7bf94d16bede2d6472da106.tar.bz2
samba-6a1a7ce9ebb331eba7bf94d16bede2d6472da106.zip
s4:srvsvc RPC - "srvsvc_create_ntvfs_connect"
Previous commit was incomplete. The "service" parameter in the "tcon" structure should point to "scfg->name". I'm not sure if "share" is right but the first was used before commit f390daef475126b4ff5a3d0ffd2babbd87d4c22b.
Diffstat (limited to 'source4/rpc_server/srvsvc')
-rw-r--r--source4/rpc_server/srvsvc/srvsvc_ntvfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/srvsvc/srvsvc_ntvfs.c b/source4/rpc_server/srvsvc/srvsvc_ntvfs.c
index 17c5f81e65..d95c307d16 100644
--- a/source4/rpc_server/srvsvc/srvsvc_ntvfs.c
+++ b/source4/rpc_server/srvsvc/srvsvc_ntvfs.c
@@ -127,7 +127,7 @@ NTSTATUS srvsvc_create_ntvfs_context(struct dcesrv_call_state *dce_call,
/* Invoke NTVFS connection hook */
tcon.tcon.level = RAW_TCON_TCON;
ZERO_STRUCT(tcon.tcon.in);
- tcon.tcon.in.service = share;
+ tcon.tcon.in.service = scfg->name;
status = ntvfs_connect(ntvfs_req, &tcon);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,("srvsvc_create_ntvfs_context: NTVFS ntvfs_connect() failed!\n"));