summaryrefslogtreecommitdiff
path: root/source3
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
commit50a06f76ef3feed4eec032f83ce86e9e207e003d (patch)
tree25995d634a61650654fbfe13a3c82c8ea6c3a458 /source3
parent494e332220686c5410aa26b305bc037b400b4b4f (diff)
downloadsamba-50a06f76ef3feed4eec032f83ce86e9e207e003d.tar.gz
samba-50a06f76ef3feed4eec032f83ce86e9e207e003d.tar.bz2
samba-50a06f76ef3feed4eec032f83ce86e9e207e003d.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/libsmbclient.c5
1 files changed, 5 insertions, 0 deletions
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 */