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:
parent
c5a1aa5224
commit
55ed0be65f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user