git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b387c61
)
testparm: list registry shares with testparm.
author
Michael Adam
<obnox@samba.org>
Thu, 15 May 2008 00:41:05 +0000
(
02:41
+0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 15 May 2008 00:42:41 +0000
(
02:42
+0200)
I.e., use lp_load_with_registry_shares() instead of lp_load().
Michael
source/utils/testparm.c
patch
|
blob
|
history
diff --git
a/source/utils/testparm.c
b/source/utils/testparm.c
index aded4a83c1820f19e89388b3c1146fc1d0aba4b2..03291fe35fa798a44d312f766828b86720c70823 100644
(file)
--- a/
source/utils/testparm.c
+++ b/
source/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);
}