summaryrefslogtreecommitdiff
path: root/source3/utils/masktest.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/masktest.c')
-rw-r--r--source3/utils/masktest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/utils/masktest.c b/source3/utils/masktest.c
index a1fe6d2186..f7b6ad1b1b 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"));
}