mirror of
https://github.com/samba-team/samba.git
synced 2025-09-09 01:44:21 +03:00
s3:net: load registry shares too in 'net vfs stream2adouble'
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
This commit is contained in:
committed by
Jeremy Allison
parent
39e06c49ae
commit
ad24b7cf4d
@@ -142,9 +142,9 @@ static int net_vfs_init(struct net_context *c, int argc, const char **argv)
|
|||||||
setup_logging("net", DEBUG_STDOUT);
|
setup_logging("net", DEBUG_STDOUT);
|
||||||
lp_set_cmdline("log level", "0");
|
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) {
|
if (!ok) {
|
||||||
fprintf(stderr, "lp_load_with_shares failed\n");
|
fprintf(stderr, "lp_load_with_registry_shares failed\n");
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user