diff options
author | Derrell Lipman <derrell@samba.org> | 2005-12-25 04:17:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:57 -0500 |
commit | 6d7a9ce7a7060b9b397ae77b8b54d3cf25e50e5a (patch) | |
tree | 6ea69611ae6e0e36938408bc3fc927cee7e5f0c6 /source | |
parent | e3bab0cc437f3c51c74e438d8d76ffd8afe8644c (diff) | |
download | samba-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.c | 5 |
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 */ |