git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fd0079
)
loadparm: fix process_registry_shares() when there is only [global] in registry.
author
Michael Adam
<obnox@samba.org>
Tue, 27 May 2008 08:59:11 +0000
(10:59 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 10 Jul 2008 21:34:05 +0000
(23:34 +0200)
This fixes testparm printing "Error loading services." when there is only
the global section in registry and no other service definition.
Michael
(cherry picked from commit
28d197220038b9a47af177b88a8587f865e45de5
)
source/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source/param/loadparm.c
b/source/param/loadparm.c
index 45a559f6ff60d61603ef7bfe9fb8e750061b7982..f832f067d5303d2c0349671fe870f887a42de2d5 100644
(file)
--- a/
source/param/loadparm.c
+++ b/
source/param/loadparm.c
@@
-6603,6
+6603,8
@@
static bool process_registry_shares(void)
goto done;
}
+ ret = true;
+
for (count = 0; count < num_shares; count++) {
if (strequal(service[count]->name, GLOBAL_NAME)) {
continue;