summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/nmblookup.c2
-rw-r--r--source3/utils/status.c2
-rw-r--r--source3/utils/testparm.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c
index a73a35cd56..4c9132ee75 100644
--- a/source3/utils/nmblookup.c
+++ b/source3/utils/nmblookup.c
@@ -172,7 +172,7 @@ int main(int argc,char *argv[])
init_structs();
- if (!lp_load(servicesf,True)) {
+ if (!lp_load(servicesf,True,False,False)) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n", servicesf);
}
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 401dd25c89..7c89ad6d63 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -152,7 +152,7 @@ static void print_share_mode(share_mode_entry *e, char *fname)
get_myname(myhostname, NULL);
- if (!lp_load(servicesf,False)) {
+ if (!lp_load(servicesf,False,False,False)) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n", servicesf);
return (-1);
}
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index a35a3fd71e..0cc76066bb 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -67,7 +67,7 @@ extern pstring myhostname;
return(1);
}
- if (!lp_load(configfile,False))
+ if (!lp_load(configfile,False,True,False))
{
printf("Error loading services.\n");
return(1);