diff options
author | Andreas Schneider <asn@samba.org> | 2011-08-03 12:14:16 +0200 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2011-08-21 09:05:02 -0400 |
commit | 312c519c5c129350e6107657e51ae1efb1a655de (patch) | |
tree | de2ada2d2e85fa734c1dfb327362272c323ca1d4 /source3 | |
parent | ea3fa586e7af13202cc5cc0737cb501c8fb81d79 (diff) | |
download | samba-312c519c5c129350e6107657e51ae1efb1a655de.tar.gz samba-312c519c5c129350e6107657e51ae1efb1a655de.tar.bz2 samba-312c519c5c129350e6107657e51ae1efb1a655de.zip |
s3-rpc_server: Check explicit for external and daemon server type.
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_pipe_hnd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c index 3990ae9bcd..5c906561c0 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; } |