diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-09-29 11:49:50 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-10-02 15:33:40 +0200 |
commit | f390daef475126b4ff5a3d0ffd2babbd87d4c22b (patch) | |
tree | 70df56bbecd194eadd3d0e042398530a38f20dad /source4 | |
parent | d87cfc7cc4d9a547b86e82c418e7e2a8c36e0afa (diff) | |
download | samba-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.c | 4 |
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; |