git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa4213b
)
In libnetapi, point out that lp_load has failed.
author
Günther Deschner
<gd@samba.org>
Wed, 5 Mar 2008 23:45:20 +0000
(
00:45
+0100)
committer
Michael Adam
<obnox@samba.org>
Thu, 6 Mar 2008 08:52:06 +0000
(09:52 +0100)
Guenther
(This used to be commit
be673bfc61559f661040c6fb1ba7d2e4552967f2
)
source3/lib/netapi/netapi.c
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/netapi.c
b/source3/lib/netapi/netapi.c
index fb091f6e0b2476f3f57211cdfed550313adf13b8..82a8a8d3cd814278340abe7441258e58d5cae59c 100644
(file)
--- a/
source3/lib/netapi/netapi.c
+++ b/
source3/lib/netapi/netapi.c
@@
-63,6
+63,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");
return W_ERROR_V(WERR_GENERAL_FAILURE);
}