diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-03 20:12:30 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-03 20:15:25 +0100 |
commit | 6a1a7ce9ebb331eba7bf94d16bede2d6472da106 (patch) | |
tree | 30014ee666271a2603285f8e3c992501a05a3e9f | |
parent | 9b4d208ce8482e63a56fff3447179ff786062c48 (diff) | |
download | samba-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.
-rw-r--r-- | source4/rpc_server/srvsvc/srvsvc_ntvfs.c | 2 |
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")); |