summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-29 11:49:50 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-02 15:33:40 +0200
commitf390daef475126b4ff5a3d0ffd2babbd87d4c22b (patch)
tree70df56bbecd194eadd3d0e042398530a38f20dad /source4
parentd87cfc7cc4d9a547b86e82c418e7e2a8c36e0afa (diff)
downloadsamba-f390daef475126b4ff5a3d0ffd2babbd87d4c22b.tar.gz
samba-f390daef475126b4ff5a3d0ffd2babbd87d4c22b.tar.bz2
samba-f390daef475126b4ff5a3d0ffd2babbd87d4c22b.zip
s4/srvsvc: deactivate a "ntvfs_connect" with a wrong parameter
In the srvsvc code for s4 (NTVFS module) there exists a call to "ntvfs_connect" which is performed with a totally wrong argument. Since I'm not able to fix this, I commented it out and added a "FIXME" comment.
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/srvsvc/srvsvc_ntvfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/rpc_server/srvsvc/srvsvc_ntvfs.c b/source4/rpc_server/srvsvc/srvsvc_ntvfs.c
index f1cb35bdd8..15bd749ad1 100644
--- a/source4/rpc_server/srvsvc/srvsvc_ntvfs.c
+++ b/source4/rpc_server/srvsvc/srvsvc_ntvfs.c
@@ -128,7 +128,9 @@ NTSTATUS srvsvc_create_ntvfs_context(struct dcesrv_call_state *dce_call,
NT_STATUS_HAVE_NO_MEMORY(ntvfs_req);
/* Invoke NTVFS connection hook */
- status = ntvfs_connect(ntvfs_req, scfg->name);
+ /* FIXME: Here is the right parameter missing!
+ * status = ntvfs_connect(ntvfs_req, <TODO>); */
+ status = NT_STATUS_UNSUCCESSFUL; /* return this for now */
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,("srvsvc_create_ntvfs_context: NTVFS ntvfs_connect() failed!\n"));
return status;