From: Vladimir Marek Date: Mon, 17 Sep 2012 20:50:55 +0000 (-0700) Subject: Fix service control for non-internal services. X-Git-Tag: talloc-2.0.8~280 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a4e8869f7c93f30dd7014ff83d6d2f2b5afc2d64;p=thirdparty%2Fsamba.git Fix service control for non-internal services. Signed-off-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Tue Sep 18 01:42:23 CEST 2012 on sn-devel-104 --- diff --git a/source3/rpc_server/svcctl/srv_svcctl_reg.c b/source3/rpc_server/svcctl/srv_svcctl_reg.c index c3ce43f305e..930c327622f 100644 --- a/source3/rpc_server/svcctl/srv_svcctl_reg.c +++ b/source3/rpc_server/svcctl/srv_svcctl_reg.c @@ -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;