git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e407636
)
s3:mark registry shares without path unavailable just as with text config
author
Michael Adam
<obnox@samba.org>
Mon, 27 Apr 2009 23:24:27 +0000
(
01:24
+0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 28 Apr 2009 13:03:11 +0000
(15:03 +0200)
This prevents users from getting access to "/" in misconfigured setups.
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
source/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source/param/loadparm.c
b/source/param/loadparm.c
index a17cb1f5deb766b65d6cca2102275b01ba22fab3..15aa4db7eb2343b9eccaf4f3baff462e90869c48 100644
(file)
--- a/
source/param/loadparm.c
+++ b/
source/param/loadparm.c
@@
-6529,6
+6529,9
@@
static bool process_registry_service(struct smbconf_service *service)
return false;
}
}
+ if (iServiceIndex >= 0) {
+ ret = service_ok(iServiceIndex);
+ }
return true;
}