diff --git a/source3/utils/masktest.c b/source3/utils/masktest.c index a1fe6d21868..f7b6ad1b1b8 100644 --- a/source3/utils/masktest.c +++ b/source3/utils/masktest.c @@ -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")); }