From 312c519c5c129350e6107657e51ae1efb1a655de Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 3 Aug 2011 12:14:16 +0200 Subject: [PATCH] s3-rpc_server: Check explicit for external and daemon server type. Signed-off-by: Andreas Schneider Signed-off-by: Simo Sorce --- source3/rpc_server/srv_pipe_hnd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c index 3990ae9bcdb..5c906561c09 100644 --- a/source3/rpc_server/srv_pipe_hnd.c +++ b/source3/rpc_server/srv_pipe_hnd.c @@ -432,7 +432,8 @@ NTSTATUS np_open(TALLOC_CTX *mem_ctx, const char *name, rpcsrv_type = lp_parm_const_string(GLOBAL_SECTION_SNUM, "rpc_server", name, "embedded"); - if (strcasecmp_m(rpcsrv_type, "embedded") != 0) { + if (strcasecmp_m(rpcsrv_type, "external") == 0 || + strcasecmp_m(rpcsrv_type, "daemon") == 0) { external = true; } -- 2.11.4.GIT