summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-22 08:54:30 +0200
committerMichael Adam <obnox@samba.org>2013-09-24 07:44:28 +0200
commit429ab4ed02e2ef0887e92942987e5702022c8a7f (patch)
tree615e5f5c213cd493d01056c90f10e96f82ba5f02
parent76a008cd1827d0563c42dbef433e35ce5ee6a041 (diff)
downloadsamba-429ab4ed02e2ef0887e92942987e5702022c8a7f.tar.gz
samba-429ab4ed02e2ef0887e92942987e5702022c8a7f.tar.bz2
samba-429ab4ed02e2ef0887e92942987e5702022c8a7f.zip
libsmbconf:registry: clarify the appearance of "includes" in forbidden_names
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source3/lib/smbconf/smbconf_reg.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/lib/smbconf/smbconf_reg.c b/source3/lib/smbconf/smbconf_reg.c
index 9bdcbfd903..84294ab663 100644
--- a/source3/lib/smbconf/smbconf_reg.c
+++ b/source3/lib/smbconf/smbconf_reg.c
@@ -62,7 +62,13 @@ bool smbconf_reg_parameter_is_valid(const char *param_name)
"lock dir",
"config backend",
"include",
- "includes", /* this has a special meaning internally */
+ /*
+ * "includes" has a special meaning internally.
+ * It is currently not necessary to list it here since it is
+ * not a valid parameter. But for clarity and safety, we keep
+ * it for now.
+ */
+ INCLUDES_VALNAME,
NULL
};
const char **forbidden = NULL;