summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Marek <Vladimir.Marek@Oracle.COM>2012-09-17 13:50:55 -0700
committerJeremy Allison <jra@samba.org>2012-09-18 01:42:22 +0200
commita4e8869f7c93f30dd7014ff83d6d2f2b5afc2d64 (patch)
treee11ef20e6f919770426e90b331967dc89cb973ad
parent7542b63188f7e73588c9abb40e36a910c87bc534 (diff)
downloadsamba-a4e8869f7c93f30dd7014ff83d6d2f2b5afc2d64.tar.gz
samba-a4e8869f7c93f30dd7014ff83d6d2f2b5afc2d64.tar.bz2
samba-a4e8869f7c93f30dd7014ff83d6d2f2b5afc2d64.zip
Fix service control for non-internal services.
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
-rw-r--r--source3/rpc_server/svcctl/srv_svcctl_reg.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/rpc_server/svcctl/srv_svcctl_reg.c b/source3/rpc_server/svcctl/srv_svcctl_reg.c
index c3ce43f305..930c327622 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;