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)
/* 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");
}
}
+ load_interfaces(); /* Load the list of interfaces ... */
+
reopen_logs(); /* Get logging working ... */
/*