summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-06 00:45:20 +0100
committerKarolin Seeger <kseeger@samba.org>2008-03-06 10:00:25 +0100
commit6412d72ca1f9727d2f84f9e2f5d08b6dd10fa393 (patch)
tree4e3b7e05bf1a991fd829997a0cdeda8caa305ab9 /source3
parenteb0e549b670b22a524ab0dbcbc2b41450cedd520 (diff)
downloadsamba-6412d72ca1f9727d2f84f9e2f5d08b6dd10fa393.tar.gz
samba-6412d72ca1f9727d2f84f9e2f5d08b6dd10fa393.tar.bz2
samba-6412d72ca1f9727d2f84f9e2f5d08b6dd10fa393.zip
In libnetapi, point out that lp_load has failed.
Guenther (cherry picked from commit be673bfc61559f661040c6fb1ba7d2e4552967f2) (This used to be commit 0fba3713e1c3379edcd99fb28ddac21616f34777)
Diffstat (limited to 'source3')
-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);
}