From 9a65c54c72cb5cbbe3d57df32193568850266b3b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 3 Nov 2004 21:44:18 +0000 Subject: r3514: Allow specification of username, password and domain and try to set up connection. (This used to be commit 8076db7a1f9e11c725e481a0bda4dbc354c9612f) --- source4/torture/dcom/simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/dcom') 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)); -- cgit