From 3ec1852ae042b7bcc1b9ee58effb44bc49ffc415 Mon Sep 17 00:00:00 2001 From: Derrell Lipman Date: Sun, 25 Dec 2005 04:26:59 +0000 Subject: r12472: r12040@cabra: derrell | 2005-12-24 23:26:55 -0500 revert immediately previous change and fix problem correctly. Interfaces were being loaded before all configuration files had been read. *This* should fix byg 3336. (This used to be commit ded5fceef1e9086dcdaba1959f812810f04fe8bc) --- source3/libsmb/libsmbclient.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'source3') 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 ... */ /* -- cgit