[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-104-g55ed0be

Volker Lendecke vlendec at samba.org
Mon Jun 29 06:12:57 GMT 2009


The branch, master has been updated
       via  55ed0be65f07b46d51a647e556644039d68a002d (commit)
      from  c5a1aa5224395e2439e0468d653acfbd3faa25fc (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 55ed0be65f07b46d51a647e556644039d68a002d
Author: David Markey <admin at dmarkey.com>
Date:   Mon Jun 29 08:12:03 2009 +0200

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

-----------------------------------------------------------------------

Summary of changes:
 source3/lib/netapi/netapi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/netapi/netapi.c b/source3/lib/netapi/netapi.c
index 8893881..2f8474b 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);
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list