Fix service control for non-internal services.
authorVladimir Marek <Vladimir.Marek@Oracle.COM>
Mon, 17 Sep 2012 20:50:55 +0000 (13:50 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 17 Sep 2012 23:42:22 +0000 (01:42 +0200)
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Sep 18 01:42:23 CEST 2012 on sn-devel-104

source3/rpc_server/svcctl/srv_svcctl_reg.c

index c3ce43f305ebe7e958d6060b3a0c54481cbd856d..930c327622f2023e60a234248d1e5ec9bb171618 100644 (file)
@@ -392,10 +392,6 @@ static bool svcctl_add_service(TALLOC_CTX *mem_ctx,
                }
        }
 
-       if (ipath == NULL || dname == NULL || description == NULL) {
-               goto done;
-       }
-
        /* Default to an external service if we haven't found a match */
        if (builtin_svcs[i].servicename == NULL) {
                struct rcinit_file_information *init_info = NULL;