summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/libsmbclient.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c
index 635f280bee..d2d45a7228 100644
--- a/source3/libsmb/libsmbclient.c
+++ b/source3/libsmb/libsmbclient.c
@@ -5673,13 +5673,6 @@ 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 */
home = getenv("HOME");
@@ -5721,6 +5714,8 @@ SMBCCTX * smbc_init_context(SMBCCTX * context)
}
}
+ load_interfaces(); /* Load the list of interfaces ... */
+
reopen_logs(); /* Get logging working ... */
/*