diff options
author | David Markey <admin@dmarkey.com> | 2009-06-29 08:12:03 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-06-29 08:12:48 +0200 |
commit | 55ed0be65f07b46d51a647e556644039d68a002d (patch) | |
tree | 0dfa7e13cd8225d2aa874ecb0b80ca025cc9414f /source3/lib | |
parent | c5a1aa5224395e2439e0468d653acfbd3faa25fc (diff) | |
download | samba-55ed0be65f07b46d51a647e556644039d68a002d.tar.gz samba-55ed0be65f07b46d51a647e556644039d68a002d.tar.xz samba-55ed0be65f07b46d51a647e556644039d68a002d.zip |
Fix bug 6514: net gives unhelpful "lp_load failed" when it's missing smb.conf
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/netapi/netapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/netapi.c b/source3/lib/netapi/netapi.c index 889388173f0..2f8474b37fd 100644 --- 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); } |