summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/filename/mangledstack.xml
blob: 3e6099ba92fe4c5062e9815c3e392de4ff4c8000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<samba:parameter xmlns:samba="http://samba.org/common">
		<term><anchor id="MANGLEDSTACK"/>mangled stack (G)</term>
		<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>