loadparm: add call to do_section() to process_registry_service().
authorMichael Adam <obnox@samba.org>
Thu, 15 May 2008 00:39:02 +0000 (02:39 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 16 Jul 2008 07:02:17 +0000 (09:02 +0200)
Michael
(cherry picked from commit e1b76cd5d646bb9083cfca0d15a84183cad72882)
(cherry picked from commit 661960e2bd73a6f773531608a635e17be28afeba)

source/param/loadparm.c

index f24d57b0daf7ebb4fdf5501c674dc518ad040fba..fcacc829f2e1c767336c3480bf70f46a0dd4706a 100644 (file)
@@ -6528,6 +6528,10 @@ static bool process_registry_service(struct smbconf_service *service)
                return false;
        }
 
+       ret = do_section(service->name, NULL);
+       if (ret != true) {
+               return false;
+       }
        for (count = 0; count < service->num_params; count++) {
                ret = do_parameter(service->param_names[count],
                                   service->param_values[count],