summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-09 15:17:28 +0200
committerMichael Adam <obnox@samba.org>2008-04-10 01:29:02 +0200
commit9765828d973c647205e933eda9992d8695687461 (patch)
treeca79facf3c9ad3b41b98650ee2fa0df083a61fc1
parent52a16b4945e68dc4a0d0c762e0019b554469ae75 (diff)
downloadsamba-9765828d973c647205e933eda9992d8695687461.tar.gz
samba-9765828d973c647205e933eda9992d8695687461.tar.bz2
samba-9765828d973c647205e933eda9992d8695687461.zip
net conf: add diagnostic message for failure to load text file.
Michael (This used to be commit 8f2c3efa679d44acc900fb90f03319e830a7dcf4)
-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;
}