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/libnet/userman.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source4/torture/libnet/userman.c') diff --git a/source4/torture/libnet/userman.c b/source4/torture/libnet/userman.c index d70fb0bc77..90b3f41959 100644 --- a/source4/torture/libnet/userman.c +++ b/source4/torture/libnet/userman.c @@ -478,7 +478,6 @@ static BOOL test_compare(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, BOOL torture_useradd(struct torture_context *torture) { NTSTATUS status; - const char *binding; struct dcerpc_pipe *p; struct policy_handle h; struct lsa_String domain_name; @@ -487,7 +486,6 @@ BOOL torture_useradd(struct torture_context *torture) BOOL ret = True; mem_ctx = talloc_init("test_useradd"); - binding = torture_setting_string(torture, "binding", NULL); status = torture_rpc_connection(torture, &p, @@ -537,7 +535,6 @@ done: BOOL torture_userdel(struct torture_context *torture) { NTSTATUS status; - const char *binding; struct dcerpc_pipe *p; struct policy_handle h; struct lsa_String domain_name; @@ -546,7 +543,6 @@ BOOL torture_userdel(struct torture_context *torture) BOOL ret = True; mem_ctx = talloc_init("test_userdel"); - binding = torture_setting_string(torture, "binding", NULL); status = torture_rpc_connection(torture, &p, @@ -581,7 +577,6 @@ done: BOOL torture_usermod(struct torture_context *torture) { NTSTATUS status; - const char *binding; struct dcerpc_pipe *p; struct policy_handle h; struct lsa_String domain_name; @@ -591,7 +586,6 @@ BOOL torture_usermod(struct torture_context *torture) BOOL ret = True; mem_ctx = talloc_init("test_userdel"); - binding = torture_setting_string(torture, "binding", NULL); status = torture_rpc_connection(torture, &p, -- cgit