]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:net: load registry shares too in 'net vfs stream2adouble'
authorRalph Wuerthner <ralph.wuerthner@de.ibm.com>
Mon, 19 Aug 2019 11:18:23 +0000 (13:18 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 22 Aug 2019 17:41:20 +0000 (17:41 +0000)
Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Aug 22 17:41:20 UTC 2019 on sn-devel-184

source3/utils/net_vfs.c

index e793daa8b9bf8469ef4e8ce2166039279c59303b..eca8b5f136e87440c9d248b7d28f34c84dda8218 100644 (file)
@@ -142,9 +142,9 @@ static int net_vfs_init(struct net_context *c, int argc, const char **argv)
        setup_logging("net", DEBUG_STDOUT);
        lp_set_cmdline("log level", "0");
 
-       ok = lp_load_with_shares(get_dyn_CONFIGFILE());
+       ok = lp_load_with_registry_shares(get_dyn_CONFIGFILE());
        if (!ok) {
-               fprintf(stderr, "lp_load_with_shares failed\n");
+               fprintf(stderr, "lp_load_with_registry_shares failed\n");
                goto done;
        }