summaryrefslogtreecommitdiff
path: root/source/ntvfs/cifs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-02 18:39:01 -0600
committerStefan Metzmacher <metze@samba.org>2008-01-02 12:48:03 -0600
commit385ffe4f4cc9a21a760c0f00410f56e2592fd507 (patch)
tree853d78ff6f0c5b86f5664dfae7f56e5df3d3df46 /source/ntvfs/cifs
parent924c0890904266af8f50f69a25f89d36f971d710 (diff)
downloadsamba-385ffe4f4cc9a21a760c0f00410f56e2592fd507.tar.gz
r26644: Janitorial: Pass resolve_context explicitly to various SMB functions, should help fix the build for OpenChange.
Diffstat (limited to 'source/ntvfs/cifs')
-rw-r--r--source/ntvfs/cifs/vfs_cifs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/ntvfs/cifs/vfs_cifs.c b/source/ntvfs/cifs/vfs_cifs.c
index 9426355ecb0..adfea6d2a28 100644
--- a/source/ntvfs/cifs/vfs_cifs.c
+++ b/source/ntvfs/cifs/vfs_cifs.c
@@ -32,6 +32,7 @@
#include "ntvfs/ntvfs.h"
#include "lib/util/dlinklist.h"
#include "param/param.h"
+#include "libcli/resolve/resolve.h"
struct cvfs_file {
struct cvfs_file *prev, *next;
@@ -202,7 +203,9 @@ static NTSTATUS cvfs_connect(struct ntvfs_module_context *ntvfs,
io.in.service = remote_share;
io.in.service_type = "?????";
- creq = smb_composite_connect_send(&io, private, ntvfs->ctx->event_ctx);
+ creq = smb_composite_connect_send(&io, private,
+ lp_resolve_context(ntvfs->ctx->lp_ctx),
+ ntvfs->ctx->event_ctx);
status = smb_composite_connect_recv(creq, private);
NT_STATUS_NOT_OK_RETURN(status);