summaryrefslogtreecommitdiffstats
path: root/docs/docbook/smbdotconf/filename/mangledstack.xml
blob: 42083d13a22043e97d6f49db90d41750620849dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<samba:parameter name="mangling stack"
                 context="G"
                 advanced="1" developer="1"
                 xmlns:samba="http://samba.org/common">
<listitem>
	<para>This parameter controls the number of mangled names 
	that should be cached in the Samba server <citerefentry><refentrytitle>smbd</refentrytitle>
	<manvolnum>8</manvolnum></citerefentry>.</para>

	<para>This stack is a list of recently mangled base names 
	(extensions are only maintained if they are longer than 3 characters 
	or contains upper case characters).</para>

	<para>The larger this value, the more likely it is that mangled 
	names can be successfully converted to correct long UNIX names. 
	However, large stack sizes will slow most directory accesses. Smaller 
	stacks save memory in the server (each stack element costs 256 bytes).
	</para>

	<para>It is not possible to absolutely guarantee correct long 
	filenames, so be prepared for some surprises!</para>

	<para>Default: <command moreinfo="none">mangled stack = 50</command></para>

  	<para>Example: <command moreinfo="none">mangled stack = 100</command></para>
</listitem>
</samba:parameter>