summaryrefslogtreecommitdiff
path: root/docs/docbook/manpages
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-10-21 04:30:51 +0000
committerAndrew Tridgell <tridge@samba.org>2002-10-21 04:30:51 +0000
commit48a56c12e268845d037ea0c4115a0df37cb20e26 (patch)
tree11af590e40cc94c973f3fca104ef9ddab0a6bbbb /docs/docbook/manpages
parent354878f76fb6689e26a62ef988564c099991edc0 (diff)
downloadsamba-48a56c12e268845d037ea0c4115a0df37cb20e26.tar.gz
samba-48a56c12e268845d037ea0c4115a0df37cb20e26.tar.bz2
samba-48a56c12e268845d037ea0c4115a0df37cb20e26.zip
add a 'mangle prefix' option to allow people to tune the number of
characters used in the prefix for 8.3 names in the hash2 algorithm. The longer the prefix the more readable the 8.3 names will be, but the weaker the hash. this was added because of someone complaining that the new hashing algorithm was unreadable but the old one was broken :) (This used to be commit 3ca3cc838e5b957c7244b21947daddc4ee4c3099)
Diffstat (limited to 'docs/docbook/manpages')
-rw-r--r--docs/docbook/manpages/smb.conf.5.sgml19
1 files changed, 15 insertions, 4 deletions
diff --git a/docs/docbook/manpages/smb.conf.5.sgml b/docs/docbook/manpages/smb.conf.5.sgml
index 0e03eabd03..a1f767185c 100644
--- a/docs/docbook/manpages/smb.conf.5.sgml
+++ b/docs/docbook/manpages/smb.conf.5.sgml
@@ -4292,10 +4292,21 @@
a better algorithm (generates less collisions) in the names.
However, many Win32 applications store the mangled names and so
changing to the new algorithm must not be done
- lightly as these applications may break unless reinstalled.
- New installations of Samba may set the default to hash2.</para>
- <para>Default: <command>mangling method = hash</command></para>
- <para>Example: <command>mangling method = hash2</command></para>
+ lightly as these applications may break unless reinstalled.</para>
+ <para>Default: <command>mangling method = hash2</command></para>
+ <para>Example: <command>mangling method = hash</command></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><anchor id="MANGLEPREFIX">mangle prefix (G)</term>
+ <listitem><para> controls the number of prefix
+ characters from the original name used when generating
+ the mangled names. A larger value will give a weaker
+ hash and therefore more name collisions. The minimum
+ value is 1 and the maximum value is 6.</para>
+ <para>Default: <command>mangle prefix = 1</command></para>
+ <para>Example: <command>mangle prefix = 4</command></para>
</listitem>
</varlistentry>