diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-01-02 18:39:01 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-01-02 12:48:03 -0600 |
commit | 771b347f9b185895390445be96081c781e28a26d (patch) | |
tree | 8cbd2b1276c18583af2ade0bc67cc181a11490ad /source4/torture/rpc/join.c | |
parent | 37b822e49f3f7a29950ff6f52cfebf72dd583db9 (diff) | |
download | samba-771b347f9b185895390445be96081c781e28a26d.tar.gz samba-771b347f9b185895390445be96081c781e28a26d.tar.xz samba-771b347f9b185895390445be96081c781e28a26d.zip |
r26644: Janitorial: Pass resolve_context explicitly to various SMB functions, should help fix the build for OpenChange.
(This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)
Diffstat (limited to 'source4/torture/rpc/join.c')
-rw-r--r-- | source4/torture/rpc/join.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/rpc/join.c b/source4/torture/rpc/join.c index 8ab6ae03ead..dd2912380d2 100644 --- a/source4/torture/rpc/join.c +++ b/source4/torture/rpc/join.c @@ -5,6 +5,7 @@ #include "auth/credentials/credentials.h" #include "torture/rpc/rpc.h" +#include "libcli/resolve/resolve.h" #include "param/param.h" #define TORTURE_NETBIOS_NAME "smbtorturejoin" @@ -34,6 +35,7 @@ bool torture_rpc_join(struct torture_context *torture) lp_smb_ports(torture->lp_ctx), "IPC$", NULL, machine_account, + lp_resolve_context(torture->lp_ctx), NULL); if (!NT_STATUS_IS_OK(status)) { DEBUG(0, ("%s failed to connect to IPC$ with workstation credentials\n", @@ -59,6 +61,7 @@ bool torture_rpc_join(struct torture_context *torture) lp_smb_ports(torture->lp_ctx), "IPC$", NULL, machine_account, + lp_resolve_context(torture->lp_ctx), NULL); if (!NT_STATUS_IS_OK(status)) { DEBUG(0, ("%s failed to connect to IPC$ with workstation credentials\n", |