summaryrefslogtreecommitdiff
path: root/source3/utils/net_conf_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net_conf_util.c')
-rw-r--r--source3/utils/net_conf_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_conf_util.c b/source3/utils/net_conf_util.c
index 2c70371a3f..a188097cca 100644
--- a/source3/utils/net_conf_util.c
+++ b/source3/utils/net_conf_util.c
@@ -46,7 +46,7 @@ bool net_conf_param_valid(const char *service,
return false;
}
- if (!strequal(service, "global") && lp_parameter_is_global(param)) {
+ if (!strequal(service, GLOBAL_NAME) && lp_parameter_is_global(param)) {
d_fprintf(stderr, "Global parameter '%s' not allowed in "
"service definition ('%s').\n", param, service);
return false;