mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
smbdotconf: mark "mangling method" with constant="1"
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>
This commit is contained in:
parent
6f618b7c95
commit
564b0b5be3
@ -1,6 +1,7 @@
|
||||
<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
|
||||
|
@ -45,7 +45,7 @@ static void mangle_init(void)
|
||||
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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user