summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/netapi.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-06 00:45:20 +0100
committerMichael Adam <obnox@samba.org>2008-03-06 09:52:06 +0100
commitfee1ab104947ced6929d75c907a111790903fb17 (patch)
tree37cfe1bdac44528e405e1967f181b01d073d6a32 /source3/lib/netapi/netapi.c
parentaa4213bde782879dbe87460d86e09f1ff09df767 (diff)
downloadsamba-fee1ab104947ced6929d75c907a111790903fb17.tar.gz
samba-fee1ab104947ced6929d75c907a111790903fb17.tar.bz2
samba-fee1ab104947ced6929d75c907a111790903fb17.zip
In libnetapi, point out that lp_load has failed.
Guenther (This used to be commit be673bfc61559f661040c6fb1ba7d2e4552967f2)
Diffstat (limited to 'source3/lib/netapi/netapi.c')
-rw-r--r--source3/lib/netapi/netapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.c b/source3/lib/netapi/netapi.c
index fb091f6e0b..82a8a8d3cd 100644
--- 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);
}