From 50a06f76ef3feed4eec032f83ce86e9e207e003d Mon Sep 17 00:00:00 2001 From: Derrell Lipman Date: Sun, 25 Dec 2005 04:17:32 +0000 Subject: r12471: r12038@cabra: derrell | 2005-12-24 23:17:16 -0500 libsmbclient was not loading the global configuration file. This should fix 3336. (This used to be commit 6d7a9ce7a7060b9b397ae77b8b54d3cf25e50e5a) --- source3/libsmb/libsmbclient.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3') diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c index 623977b39e..635f280bee 100644 --- a/source3/libsmb/libsmbclient.c +++ b/source3/libsmb/libsmbclient.c @@ -5673,6 +5673,11 @@ SMBCCTX * smbc_init_context(SMBCCTX * context) /* Here we would open the smb.conf file if needed ... */ + if (!lp_load(dyn_CONFIGFILE, True, False, False)) { + DEBUG(5, ("Could not load config file: %s\n", + dyn_CONFIGFILE)); + } + load_interfaces(); /* Load the list of interfaces ... */ in_client = True; /* FIXME, make a param */ -- cgit