summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_conf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 67e3c85558b..1fc07e12fa9 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -229,6 +229,9 @@ static WERROR import_process_service(struct net_context *c,
service->param_names[idx],
service->param_values[idx]);
if (!W_ERROR_IS_OK(werr)) {
+ d_printf("Error in section [%s], parameter \"%s\": %s\n",
+ service->name, service->param_names[idx],
+ win_errstr(werr));
goto done;
}
}