From 9765828d973c647205e933eda9992d8695687461 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 9 Apr 2008 15:17:28 +0200 Subject: net conf: add diagnostic message for failure to load text file. Michael (This used to be commit 8f2c3efa679d44acc900fb90f03319e830a7dcf4) --- source3/utils/net_conf.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit