From 00e2b7c1b49b128488cf977b40b086b935fb605a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 13 Jun 2005 10:01:11 +0000 Subject: r7530: Simply calling convention of lp_load(). This always loads all the services, as we now don't have an easy way to split out smbd. Andrew Bartlett (This used to be commit 990e061939c76b559c4f5914c5fc6ca1b13e19dd) --- source4/client/smbmount.c | 2 +- source4/client/smbspool.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/client') diff --git a/source4/client/smbmount.c b/source4/client/smbmount.c index 7e9c74da57..45c5f703ce 100644 --- a/source4/client/smbmount.c +++ b/source4/client/smbmount.c @@ -898,7 +898,7 @@ static void parse_mount_smb(int argc, char **argv) pstrcpy(username,getenv("LOGNAME")); } - if (!lp_load(dyn_CONFIGFILE,True,False,False)) { + if (!lp_load(dyn_CONFIGFILE)) { fprintf(stderr, "Can't load %s - run testparm to debug it\n", dyn_CONFIGFILE); } diff --git a/source4/client/smbspool.c b/source4/client/smbspool.c index 620e4b301c..41cb4c9bf3 100644 --- a/source4/client/smbspool.c +++ b/source4/client/smbspool.c @@ -186,7 +186,7 @@ static int smb_print(struct smbcli_state *, char *, FILE *); in_client = True; /* Make sure that we tell lp_load we are */ - if (!lp_load(dyn_CONFIGFILE, True, False, False)) + if (!lp_load(dyn_CONFIGFILE)) { fprintf(stderr, "ERROR: Can't load %s - run testparm to debug it\n", dyn_CONFIGFILE); return (1); -- cgit