diff options
author | Michael Adam <obnox@samba.org> | 2009-04-28 01:24:27 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-04-28 11:40:26 +0200 |
commit | d16e40b5ef9add630d027ff92e440c44bfb88ef0 (patch) | |
tree | 35b373c9195ab447c2b1064804760cc924294677 | |
parent | c33291d49f888a7a29a07bc1735cbd890a23cb10 (diff) | |
download | samba-d16e40b5ef9add630d027ff92e440c44bfb88ef0.tar.gz samba-d16e40b5ef9add630d027ff92e440c44bfb88ef0.tar.bz2 samba-d16e40b5ef9add630d027ff92e440c44bfb88ef0.zip |
s3:mark registry shares without path unavailable just as with text config
This prevents users from getting access to "/" in misconfigured setups.
Michael
-rw-r--r-- | source3/param/loadparm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 070c279d57..b7c34d0028 100644 --- 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; } |