1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

Fix bug 6514: net gives unhelpful "lp_load failed" when it's missing smb.conf

This commit is contained in:
David Markey 2009-06-29 08:12:03 +02:00 committed by Volker Lendecke
parent c5a1aa5224
commit 55ed0be65f

View File

@ -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);
}