vfstest: use lp_load_with_shares() in cmd_conf
authorMichael Adam <obnox@samba.org>
Thu, 18 Sep 2014 02:16:56 +0000 (04:16 +0200)
committerIra Cooper <ira@samba.org>
Wed, 22 Apr 2015 11:57:30 +0000 (13:57 +0200)
Note this calls lp_load slightly differently.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
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;
        }