summaryrefslogtreecommitdiff
path: root/source4/ntvfs/ipc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-04 20:05:00 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:13 +0100
commit57f20ccd242e45ff91850341594aa040d113c19e (patch)
tree031f9ebc3a2b102f0d4139a896e3d2bff519fa6f /source4/ntvfs/ipc
parenta693e6f1c71d9772b52cf40a85b0504cea837240 (diff)
downloadsamba-57f20ccd242e45ff91850341594aa040d113c19e.tar.gz
samba-57f20ccd242e45ff91850341594aa040d113c19e.tar.bz2
samba-57f20ccd242e45ff91850341594aa040d113c19e.zip
r26296: Store loadparm context in DCE/RPC server context.
(This used to be commit fc1f4d2d65d4c983cba5421e7ffb64dd75482860)
Diffstat (limited to 'source4/ntvfs/ipc')
-rw-r--r--source4/ntvfs/ipc/vfs_ipc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c
index fc3c74ca6c..4a5ddd7a9c 100644
--- a/source4/ntvfs/ipc/vfs_ipc.c
+++ b/source4/ntvfs/ipc/vfs_ipc.c
@@ -31,6 +31,7 @@
#include "ntvfs/ipc/proto.h"
#include "rpc_server/dcerpc_server.h"
#include "libcli/raw/ioctl.h"
+#include "param/param.h"
/* this is the private structure used to keep the state of an open
ipc$ connection. It needs to keep information about all open
@@ -108,7 +109,7 @@ static NTSTATUS ipc_connect(struct ntvfs_module_context *ntvfs,
private->pipe_list = NULL;
/* setup the DCERPC server subsystem */
- status = dcesrv_init_ipc_context(private, &private->dcesrv);
+ status = dcesrv_init_ipc_context(private, global_loadparm, &private->dcesrv);
NT_STATUS_NOT_OK_RETURN(status);
return NT_STATUS_OK;