1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

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.
This commit is contained in:
Matthias Dieter Wallnöfer 2009-09-29 11:49:50 +02:00
parent d87cfc7cc4
commit f390daef47

View File

@ -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;