The branch, v3-4-test has been updated
       via  36791e2d05f05282ac4eaab17541aa857e48d830 (commit)
      from  2fdd917894c3571a101ac6f9cafd63585bcb8d52 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test


- Log -----------------------------------------------------------------
commit 36791e2d05f05282ac4eaab17541aa857e48d830
Author: David Markey <[email protected]>
Date:   Mon Jun 29 08:12:03 2009 +0200

    Fix bug 6514: net gives unhelpful "lp_load failed" when it's missing 
smb.conf
    (cherry picked from commit 55ed0be65f07b46d51a647e556644039d68a002d)

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

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

Reply via email to