s3/smbd: new "mangled names" setting "illegal"
authorRalph Boehme <slow@samba.org>
Thu, 17 Nov 2016 13:24:07 +0000 (14:24 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 9 Jan 2017 18:31:20 +0000 (19:31 +0100)
commit18591edafad17172502cc9b831d58d27f9076bbc
tree439957c930a6a47f80bd14c9dd1c3f50c96e6500
parent19eae537739daf95d10b67d9888769e7bf895d76
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>
docs-xml/smbdotconf/filename/manglednames.xml
lib/param/loadparm.h
lib/param/param_table.c