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/ldap/basic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/torture/ldap/basic.c') diff --git a/source4/torture/ldap/basic.c b/source4/torture/ldap/basic.c index 7b041e9255..ba7130677c 100644 --- a/source4/torture/ldap/basic.c +++ b/source4/torture/ldap/basic.c @@ -194,9 +194,9 @@ BOOL torture_ldap_basic(struct torture_context *torture) struct ldap_connection *conn; TALLOC_CTX *mem_ctx; BOOL ret = True; - const char *host = lp_parm_string(-1, "torture", "host"); - const char *userdn = lp_parm_string(-1, "torture", "ldap_userdn"); - const char *secret = lp_parm_string(-1, "torture", "ldap_secret"); + const char *host = torture_setting_string(torture, "host", NULL); + const char *userdn = torture_setting_string(torture, "ldap_userdn", NULL); + const char *secret = torture_setting_string(torture, "ldap_secret", NULL); char *url; char *basedn; -- cgit