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:
c33291d
)
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 09:40:26 +0000
(11:40 +0200)
This prevents users from getting access to "/" in misconfigured setups.
Michael
source3/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source3/param/loadparm.c
b/source3/param/loadparm.c
index 070c279d572dbb88a5d1076ffd101a6075bd1bc7..b7c34d0028407cf11d632105e25789e94f90b54a 100644
(file)
--- a/
source3/param/loadparm.c
+++ b/
source3/param/loadparm.c
@@
-6818,6
+6818,9
@@
static bool process_smbconf_service(struct smbconf_service *service)
return false;
}
}
+ if (iServiceIndex >= 0) {
+ ret = service_ok(iServiceIndex);
+ }
return true;
}