summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_conf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 575bfb89ca..6f99df2c90 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -271,6 +271,8 @@ static int net_conf_import(struct smbconf_ctx *conf_ctx,
werr = smbconf_init_txt_simple(mem_ctx, &txt_ctx, filename, true);
if (!W_ERROR_IS_OK(werr)) {
+ d_printf("error loading file '%s': %s\n", filename,
+ dos_errstr(werr));
goto done;
}