From: Michael Adam Date: Mon, 27 Apr 2009 23:24:27 +0000 (+0200) Subject: s3:loadparm: mark registry shares without path unavailable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d345210381b1f543c2ccaa6e66f52532916413e;p=thirdparty%2Fsamba.git s3:loadparm: mark registry shares without path unavailable ...just as with text config. This applies to testparm and friends. smbd is fixed in a second patch. Michael --- diff --git a/source/param/loadparm.c b/source/param/loadparm.c index b08ff6d7166..c7b06a4fd57 100644 --- a/source/param/loadparm.c +++ b/source/param/loadparm.c @@ -6585,6 +6585,9 @@ static bool process_registry_service(struct smbconf_service *service) return false; } } + if (iServiceIndex >= 0) { + return service_ok(iServiceIndex); + } return true; }