1
0
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:
Ralph Boehme 2019-11-05 10:53:54 +01:00 committed by Stefan Metzmacher
parent 6f618b7c95
commit 564b0b5be3
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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 */