summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-11-03 21:44:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:24 -0500
commit9a65c54c72cb5cbbe3d57df32193568850266b3b (patch)
tree40c727a6f0ca0807b4ba4b889f100bb2006665a9 /source4/torture
parent6d3c74a67b935f348777feb3fac7653a9c4277a8 (diff)
downloadsamba-9a65c54c72cb5cbbe3d57df32193568850266b3b.tar.gz
samba-9a65c54c72cb5cbbe3d57df32193568850266b3b.tar.bz2
samba-9a65c54c72cb5cbbe3d57df32193568850266b3b.zip
r3514: Allow specification of username, password and domain and try to set up connection.
(This used to be commit 8076db7a1f9e11c725e481a0bda4dbc354c9612f)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/dcom/simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/dcom/simple.c b/source4/torture/dcom/simple.c
index b52733e1f6..23db926880 100644
--- a/source4/torture/dcom/simple.c
+++ b/source4/torture/dcom/simple.c
@@ -45,7 +45,7 @@ BOOL torture_dcom_simple(void)
GUID_from_string(DCERPC_ISTREAM_UUID, &IID[0]);
GUID_from_string(DCERPC_IUNKNOWN_UUID, &IID[1]);
GUID_from_string(CLSID_SIMPLE, &clsid);
- error = dcom_create_object(mem_ctx, &clsid, "192.168.4.28", 2, IID, &interfaces);
+ error = dcom_create_object(mem_ctx, &clsid, lp_parm_string(-1, "torture", "binding"), 2, IID, &interfaces, lp_parm_string(-1, "torture", "userdomain"), lp_parm_string(-1, "torture", "username"), lp_parm_string(-1, "torture", "password"));
if (!W_ERROR_IS_OK(error)) {
printf("dcom_create_object failed - %s\n", win_errstr(error));