From 3e7203d0b34a031e10aeaaf04f246a1de8376ab4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 28 Aug 2007 19:03:08 +0000 Subject: r24755: Use common code for finding the RPC binding in the torture tests. (This used to be commit e3310e773924ddd2129e8ca1a86e23d0f713c19c) --- source4/torture/rpc/samlogon.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source4/torture/rpc/samlogon.c') diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c index 832bb68072..da74067336 100644 --- a/source4/torture/rpc/samlogon.c +++ b/source4/torture/rpc/samlogon.c @@ -1484,7 +1484,6 @@ BOOL torture_rpc_samlogon(struct torture_context *torture) char *user_password, *user_password_wrong_wks, *user_password_wrong_time; const char *old_user_password; char *test_machine_account; - const char *binding = torture_setting_string(torture, "binding", NULL); const char *userdomain; struct samr_SetUserInfo s; union samr_UserInfo u; @@ -1582,9 +1581,8 @@ BOOL torture_rpc_samlogon(struct torture_context *torture) goto failed; } - status = dcerpc_parse_binding(mem_ctx, binding, &b); + status = torture_rpc_binding(torture, &b); if (!NT_STATUS_IS_OK(status)) { - d_printf("Bad binding string %s\n", binding); ret = False; goto failed; } -- cgit