mangle prefix

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.
mangle prefix is effective only when mangling method is hash2.

Example: 4

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family



Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Samba\smb_conf\mangle prefix
Value Namemangle prefix
Value TypeREG_DWORD
Default Value1
Min Value
Max Value

samba.admx

Administrative Templates (Computers)