summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2005-12-25 04:17:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:57 -0500
commit6d7a9ce7a7060b9b397ae77b8b54d3cf25e50e5a (patch)
tree6ea69611ae6e0e36938408bc3fc927cee7e5f0c6 /source
parente3bab0cc437f3c51c74e438d8d76ffd8afe8644c (diff)
downloadsamba-6d7a9ce7a7060b9b397ae77b8b54d3cf25e50e5a.tar.gz
samba-6d7a9ce7a7060b9b397ae77b8b54d3cf25e50e5a.tar.xz
samba-6d7a9ce7a7060b9b397ae77b8b54d3cf25e50e5a.zip
r12471: r12038@cabra: derrell | 2005-12-24 23:17:16 -0500
libsmbclient was not loading the global configuration file. This should fix 3336.
Diffstat (limited to 'source')
-rw-r--r--source/libsmb/libsmbclient.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/libsmb/libsmbclient.c b/source/libsmb/libsmbclient.c
index 623977b39e7..635f280bee1 100644
--- a/source/libsmb/libsmbclient.c
+++ b/source/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 */