1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

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>
This commit is contained in:
Andreas Schneider 2011-08-03 12:14:16 +02:00 committed by Simo Sorce
parent ea3fa586e7
commit 312c519c5c

View File

@ -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;
}