1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-22 16:23:49 +03:00

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 commit is contained in:
Derrell Lipman
2005-12-25 04:26:59 +00:00
committed by Gerald (Jerry) Carter
parent 6d7a9ce7a7
commit ded5fceef1

View File

@@ -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 ... */
/*