mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
load smb.conf and interfaces in masktest (to allow for netbios name
resolution)
This commit is contained in:
parent
53721fbc7d
commit
f007531742
@ -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"));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user