r19392: Use torture_setting_* rather than lp_parm_* where possible.
[sfrench/samba-autobuild/.git] / source4 / torture / ldap / schema.c
index df5f8ca5ce5f238ce530c1522dac36a6d5e6c6f9..bc8f1e38cef8446f2c534082d7063cbd5924f7dc 100644 (file)
@@ -487,7 +487,7 @@ BOOL torture_ldap_schema(struct torture_context *torture)
        struct ldb_context *ldb;
        TALLOC_CTX *mem_ctx;
        BOOL ret = True;
-       const char *host = lp_parm_string(-1, "torture", "host");
+       const char *host = torture_setting_string(torture, "host", NULL);
        char *url;
        struct test_rootDSE rootDSE;
        struct dsdb_schema *schema = NULL;