r19392: Use torture_setting_* rather than lp_parm_* where possible.
[sfrench/samba-autobuild/.git] / source4 / torture / ldap / cldap.c
index 45d758547d20a1e4a4d27fd62664c3a56fa99751..321feb639f8b648079982150c0b990d3fe13b778 100644 (file)
@@ -256,7 +256,7 @@ BOOL torture_cldap(struct torture_context *torture)
 {
        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);
 
        mem_ctx = talloc_init("torture_cldap");