summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-05-15 02:41:05 +0200
committerMichael Adam <obnox@samba.org>2008-05-15 02:42:41 +0200
commit44733dcf1a6af0286a2b74a513bc8914df0233cb (patch)
tree9064de27dc5a4cfa585c936f368b8da9e6d23178 /source3
parent42beddc99143ac615b4d5aafb508a018dda144f0 (diff)
downloadsamba-44733dcf1a6af0286a2b74a513bc8914df0233cb.tar.gz
samba-44733dcf1a6af0286a2b74a513bc8914df0233cb.tar.bz2
samba-44733dcf1a6af0286a2b74a513bc8914df0233cb.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/testparm.c2
1 files changed, 1 insertions, 1 deletions
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);
}