This avoids that we run into use after free issues when we access memory
allocated on the globals and the global being reinitialized.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11563
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
TimeInit();
setup_logging("nss_wins",False);
- lp_load_global(get_dyn_CONFIGFILE());
+ lp_load_global_no_reinit(get_dyn_CONFIGFILE());
load_interfaces();
}