summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-23 09:14:39 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-24 10:46:12 +1000
commit9521cd0409add2628352ee5ef888c5a8a90fbb27 (patch)
treefd5fe74cd7052462902bd6ca52eb2bed2be4b122 /source3/param
parent69e98ff86c4e90d2259b7a4ea93e45e2ec426bc3 (diff)
downloadsamba-9521cd0409add2628352ee5ef888c5a8a90fbb27.tar.gz
samba-9521cd0409add2628352ee5ef888c5a8a90fbb27.tar.bz2
samba-9521cd0409add2628352ee5ef888c5a8a90fbb27.zip
param: Make the 'unicode' parameter common
This parameter is most useful for interop testing, rather than production use. Andrew Bartlett
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 2a9900b168..3a21ac4fe8 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1595,6 +1595,14 @@ static struct parm_struct parm_table[] = {
.flags = FLAG_ADVANCED,
},
{
+ .label = "unicode",
+ .type = P_BOOL,
+ .p_class = P_GLOBAL,
+ .offset = GLOBAL_VAR(bUnicode),
+ .special = NULL,
+ .enum_list = NULL
+ },
+ {
.label = "min receivefile size",
.type = P_BYTES,
.p_class = P_GLOBAL,
@@ -4818,6 +4826,7 @@ static void init_globals(bool reinit_globals)
#else
Globals.bUseMmap = true;
#endif
+ Globals.bUnicode = true;
Globals.bUnixExtensions = true;
Globals.bResetOnZeroVC = false;
Globals.bLogWriteableFilesOnExit = false;