Fix service control for non-internal services.
authorVladimir Marek <Vladimir.Marek@Oracle.COM>
Mon, 17 Sep 2012 20:50:55 +0000 (13:50 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 2 Oct 2012 06:55:04 +0000 (08:55 +0200)
Signed-off-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit a4e8869f7c93f30dd7014ff83d6d2f2b5afc2d64)
Signed-off-by: Andreas Schneider <asn@samba.org>
Fix bug #9192 - svcctl list option prohibits smbd to start.

source3/rpc_server/svcctl/srv_svcctl_reg.c

index eb0c2bddb6b65e5fa77d15dceb44ce73f1070df1..044beaad1c59e0ec7d98ce84b58eca47ab2f4be1 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;