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 | 50a06f76ef3feed4eec032f83ce86e9e207e003d (patch) | |
tree | 25995d634a61650654fbfe13a3c82c8ea6c3a458 /source3/libsmb | |
parent | 494e332220686c5410aa26b305bc037b400b4b4f (diff) | |
download | samba-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/libsmb')
-rw-r--r-- | source3/libsmb/libsmbclient.c | 5 |
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 */ |