From 1d345210381b1f543c2ccaa6e66f52532916413e Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 28 Apr 2009 01:24:27 +0200 Subject: [PATCH] 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 --- source/param/loadparm.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.47.2