r25430: Add the loadparm context to all parametric options.
[gd/samba-autobuild/.git] / source4 / torture / rpc / samba3rpc.c
index 75a7d760d91008eee2642866a42d0e56c8fe3342..92f8778df6a86941c02f8ad7111fe7fb9c6bcdf7 100644 (file)
@@ -1230,7 +1230,7 @@ static BOOL test_join3(TALLOC_CTX *mem_ctx,
        struct cli_credentials *wks_creds;
 
        status = smbcli_full_connection(mem_ctx, &cli,
-                                       lp_parm_string(NULL, "torture", "host"),
+                                       lp_parm_string(global_loadparm, NULL, "torture", "host"),
                                        "IPC$", NULL, smb_creds, NULL);
        if (!NT_STATUS_IS_OK(status)) {
                d_printf("smbcli_full_connection failed: %s\n",