docs/xml: change default for "mangled names" to "illegal"
authorRalph Boehme <slow@samba.org>
Mon, 8 Jul 2019 12:14:29 +0000 (14:14 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 8 Jul 2019 16:22:38 +0000 (16:22 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
docs-xml/smbdotconf/filename/manglednames.xml
lib/param/loadparm.c
source3/param/loadparm.c

index 972834e561a2afdf7dbbd4abf9014c3de4f8bf5a..d6a5cf0ac15b62ed559c19b10202dc3f3f38e31d 100644 (file)
@@ -72,6 +72,6 @@
        from Windows/DOS and will retain the same basename. Mangled names 
        do not change between sessions.</para>
 </description>
-<value type="default">yes</value>
-<value type="example">illegal</value>
+<value type="default">illegal</value>
+<value type="example">no</value>
 </samba:parameter>
index 18b65e5fe59cd97df709c1975e38c27560c0e76e..883d4167bf49c1ba0351bfd2e703613073b59d83 100644 (file)
@@ -2839,7 +2839,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
 
        lpcfg_do_global_parameter(lp_ctx, "winbind nested groups", "True");
 
-       lpcfg_do_global_parameter(lp_ctx, "mangled names", "True");
+       lpcfg_do_global_parameter(lp_ctx, "mangled names", "illegal");
 
        lpcfg_do_global_parameter_var(lp_ctx, "smb2 max credits", "%u", DEFAULT_SMB2_MAX_CREDITS);
 
index a52c25fef0ae7317ba18a6e4e831aa298bc4fb85..a8d5fdc5954d37d59b7a7023f7f74517c1f6ef85 100644 (file)
@@ -201,7 +201,7 @@ static const struct loadparm_service _sDefault =
        .oplocks = true,
        .kernel_oplocks = false,
        .level2_oplocks = true,
-       .mangled_names = MANGLED_NAMES_YES,
+       .mangled_names = MANGLED_NAMES_ILLEGAL,
        .wide_links = false,
        .follow_symlinks = true,
        .sync_always = false,