git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5a1aa5
)
Fix bug 6514: net gives unhelpful "lp_load failed" when it's missing smb.conf
author
David Markey
<admin@dmarkey.com>
Mon, 29 Jun 2009 06:12:03 +0000
(08:12 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 29 Jun 2009 06:12:48 +0000
(08:12 +0200)
source3/lib/netapi/netapi.c
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/netapi.c
b/source3/lib/netapi/netapi.c
index 889388173f005f04b92ee0c1d048c8a2ebc03081..2f8474b37fdd0598abd1cb2e46aa10a87f9194fe 100644
(file)
--- a/
source3/lib/netapi/netapi.c
+++ b/
source3/lib/netapi/netapi.c
@@
-89,7
+89,7
@@
NET_API_STATUS libnetapi_init(struct libnetapi_ctx **context)
if (!lp_load(get_dyn_CONFIGFILE(), true, false, false, false)) {
TALLOC_FREE(frame);
- fprintf(stderr, "
lp_load failed\n"
);
+ fprintf(stderr, "
error loading %s\n", get_dyn_CONFIGFILE()
);
return W_ERROR_V(WERR_GENERAL_FAILURE);
}