From 44733dcf1a6af0286a2b74a513bc8914df0233cb Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 15 May 2008 02:41:05 +0200 Subject: testparm: list registry shares with testparm. I.e., use lp_load_with_registry_shares() instead of lp_load(). Michael (This used to be commit 95339c0c1ecc49049f1fc176f72a1dcac639e06d) --- source3/utils/testparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils') diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index aded4a83c1..03291fe35f 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -269,7 +269,7 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_ fprintf(stderr,"Load smb config files from %s\n",config_file); - if (!lp_load(config_file,False,True,False,True)) { + if (!lp_load_with_registry_shares(config_file,False,True,False,True)) { fprintf(stderr,"Error loading services.\n"); return(1); } -- cgit