From the manpage:
... controls the algorithm used for the generating
the mangled names. Can take two different values, "hash" and
"hash2". ...
No need for variable substitution support in this option, declare it const.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
<samba:parameter name="mangling method"
context="G"
type="string"
+ constant="1"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para> controls the algorithm used for the generating
if (mangle_fns)
return;
- method = lp_mangling_method(talloc_tos());
+ method = lp_mangling_method();
/* find the first mangling method that manages to initialise and
matches the "mangling method" parameter */