git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52a16b4
)
net conf: add diagnostic message for failure to load text file.
author
Michael Adam
<obnox@samba.org>
Wed, 9 Apr 2008 13:17:28 +0000
(15:17 +0200)
committer
Michael Adam
<obnox@samba.org>
Wed, 9 Apr 2008 23:29:02 +0000
(
01:29
+0200)
Michael
(This used to be commit
8f2c3efa679d44acc900fb90f03319e830a7dcf4
)
source3/utils/net_conf.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_conf.c
b/source3/utils/net_conf.c
index 575bfb89cad4023ceccca39ea83f2d0edb53acec..6f99df2c90aedd2b7dbbbc11a05b52aad95aec56 100644
(file)
--- 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;
}