From a39f239cb28e4ac6be207d4179bacffce97f1b3e Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 18 Oct 2006 14:23:19 +0000 Subject: r19392: Use torture_setting_* rather than lp_parm_* where possible. (This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6) --- source4/torture/libnet/libnet_domain.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/torture/libnet/libnet_domain.c') diff --git a/source4/torture/libnet/libnet_domain.c b/source4/torture/libnet/libnet_domain.c index 24431de54a..8bf175212e 100644 --- a/source4/torture/libnet/libnet_domain.c +++ b/source4/torture/libnet/libnet_domain.c @@ -133,7 +133,7 @@ BOOL torture_domain_open_lsa(struct torture_context *torture) struct policy_handle h; const char *bindstr; - bindstr = lp_parm_string(-1, "torture", "binding"); + bindstr = torture_setting_string(torture, "binding", NULL); status = dcerpc_parse_binding(torture, bindstr, &binding); if (!NT_STATUS_IS_OK(status)) { d_printf("failed to parse binding string\n"); @@ -190,7 +190,7 @@ BOOL torture_domain_close_lsa(struct torture_context *torture) struct dcerpc_pipe *p; struct libnet_DomainClose r; - bindstr = lp_parm_string(-1, "torture", "binding"); + bindstr = torture_setting_string(torture, "binding", NULL); status = dcerpc_parse_binding(torture, bindstr, &binding); if (!NT_STATUS_IS_OK(status)) { d_printf("failed to parse binding string\n"); @@ -263,7 +263,7 @@ BOOL torture_domain_open_samr(struct torture_context *torture) BOOL ret = True; mem_ctx = talloc_init("test_domainopen_lsa"); - binding = lp_parm_string(-1, "torture", "binding"); + binding = torture_setting_string(torture, "binding", NULL); ctx = libnet_context_init(evt_ctx); ctx->cred = cmdline_credentials; @@ -322,7 +322,7 @@ BOOL torture_domain_close_samr(struct torture_context *torture) struct dcerpc_pipe *p; struct libnet_DomainClose r; - bindstr = lp_parm_string(-1, "torture", "binding"); + bindstr = torture_setting_string(torture, "binding", NULL); status = dcerpc_parse_binding(torture, bindstr, &binding); if (!NT_STATUS_IS_OK(status)) { d_printf("failed to parse binding string\n"); -- cgit