vfstest: use lp_load_with_shares() in cmd_conf
[vlendec/samba-autobuild/.git] / source3 / torture / vfstest.c
index 2cca2a4f1f90e72c37af1020048ba94c7adc1259..b6ef2f2e438d216fd115c5919690e3a8c6737814 100644 (file)
@@ -127,7 +127,7 @@ static NTSTATUS cmd_conf(struct vfs_state *vfs, TALLOC_CTX *mem_ctx,
                return NT_STATUS_OK;
        }
 
-       if (!lp_load(argv[1], False, True, False, True)) {
+       if (!lp_load_with_shares(argv[1])) {
                printf("Error loading \"%s\"\n", argv[1]);
                return NT_STATUS_OK;
        }