1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

load smb.conf and interfaces in masktest (to allow for netbios name

resolution)
(This used to be commit f007531742)
This commit is contained in:
Andrew Tridgell 2000-03-26 09:20:47 +00:00
parent 614929752e
commit da2da10117

View File

@ -394,6 +394,7 @@ static void usage(void)
int opt;
char *p;
int seed;
static pstring servicesf = CONFIGFILE;
setlinebuf(stdout);
@ -418,6 +419,9 @@ static void usage(void)
TimeInit();
charset_initialise();
lp_load(servicesf,True,False,False);
load_interfaces();
if (getenv("USER")) {
pstrcpy(username,getenv("USER"));
}