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:
4982483
)
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 10:21:50 +0000
(12:21 +0200)
This prevents users from getting access to "/" in misconfigured setups.
Michael
(cherry picked from commit
d16e40b5ef9add630d027ff92e440c44bfb88ef0
)
source3/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source3/param/loadparm.c
b/source3/param/loadparm.c
index 81132a049a942c06a253fc9b9359ca8c7f46ad0a..c7bb47de6044b982530e5430f6655c39b8562687 100644
(file)
--- a/
source3/param/loadparm.c
+++ b/
source3/param/loadparm.c
@@
-6784,6
+6784,9
@@
static bool process_smbconf_service(struct smbconf_service *service)
return false;
}
}
+ if (iServiceIndex >= 0) {
+ ret = service_ok(iServiceIndex);
+ }
return true;
}