diff options
author | Ralph Boehme <slow@samba.org> | 2016-11-17 14:24:07 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-01-09 19:31:20 +0100 |
commit | 18591edafad17172502cc9b831d58d27f9076bbc (patch) | |
tree | 439957c930a6a47f80bd14c9dd1c3f50c96e6500 /lib/param/param_table.c | |
parent | 19eae537739daf95d10b67d9888769e7bf895d76 (diff) | |
download | samba-18591edafad17172502cc9b831d58d27f9076bbc.tar.gz |
s3/smbd: new "mangled names" setting "illegal"
This does mangling for names with illegal NTFS characters, but not for
names longer then 8.3:
Name mangling with mangled named = yes
======================================
Mangled | Short | Name
----------------------------
| | foo
| yes | 123456789
yes | | foo:bar
Name mangling with mangled named = illegal
==========================================
Mangled | Short | Name
----------------------------
| | foo
| | 123456789
yes | | foo:bar
Setting "mangled names = illegal" is the most sensible setting for
modern clients that don't use the shortname anymore.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/param/param_table.c')
-rw-r--r-- | lib/param/param_table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 8eb791aa2c4..95c3b8c6188 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -319,6 +319,7 @@ static const struct enum_list enum_mangled_names[] = { {MANGLED_NAMES_NO, "no"}, {MANGLED_NAMES_NO, "false"}, {MANGLED_NAMES_NO, "0"}, + {MANGLED_NAMES_ILLEGAL, "illegal"}, {MANGLED_NAMES_YES, "yes"}, {MANGLED_NAMES_YES, "true"}, {MANGLED_NAMES_YES, "1"}, |