]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:loadparm: mark registry shares without path unavailable
authorMichael Adam <obnox@samba.org>
Mon, 27 Apr 2009 23:24:27 +0000 (01:24 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 6 May 2009 06:52:42 +0000 (08:52 +0200)
...just as with text config.
This applies to testparm and friends.
smbd is fixed in a second patch.

Michael

source/param/loadparm.c

index b08ff6d71666548230d4008601c47788fe85298b..c7b06a4fd57d2b991d139dfe0ee8d0a1e5169331 100644 (file)
@@ -6585,6 +6585,9 @@ static bool process_registry_service(struct smbconf_service *service)
                        return false;
                }
        }
+       if (iServiceIndex >= 0) {
+               return  service_ok(iServiceIndex);
+       }
        return true;
 }