r26238: Add a loadparm context parameter to torture_context, remove more uses of...
[jelmer/samba4-debian.git] / source / torture / libnet / domain.c
index daf9012e0c716d4483b3f8daeabd24ecfd07165e..c75050eb55812bf2c6aa07c4acb244a1386a932a 100644 (file)
@@ -93,7 +93,7 @@ bool torture_domainopen(struct torture_context *torture)
                return false;
        }
 
-       name.string = lp_workgroup(global_loadparm);
+       name.string = lp_workgroup(torture->lp_ctx);
 
        /*
         * Testing synchronous version