]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
net: filename_convert_dirfsp() needs mangling initialized
authorVolker Lendecke <vl@samba.org>
Wed, 23 Oct 2024 15:09:04 +0000 (17:09 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 12 Nov 2024 18:07:33 +0000 (18:07 +0000)
We'll call filename_convert_dirfsp() from a lot more places soon.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/utils/net_vfs.c

index 410eef3106aaeca71c420325bcf9428de4e86fa1..a8d2a9f72d5f201d254a1ffb110f469052c306b8 100644 (file)
@@ -144,6 +144,7 @@ static int net_vfs_init(struct net_context *c, int argc, const char **argv)
        sec_init();
        setup_logging("net", DEBUG_STDOUT);
        lpcfg_set_cmdline(c->lp_ctx, "log level", "0");
+       mangle_change_to_posix();
 
        ok = lp_load_with_registry_shares(get_dyn_CONFIGFILE());
        if (!ok) {