diff options
-rw-r--r-- | source3/rpc_server/rpc_ncacn_np.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/rpc_server/rpc_ncacn_np.c b/source3/rpc_server/rpc_ncacn_np.c index 60cd9a37e7..f4c47fc3e3 100644 --- a/source3/rpc_server/rpc_ncacn_np.c +++ b/source3/rpc_server/rpc_ncacn_np.c @@ -836,11 +836,16 @@ NTSTATUS rpc_pipe_open_interface(TALLOC_CTX *mem_ctx, goto done; } - DEBUG(10, ("Connecting to %s pipe.\n", pipe_name)); + while (pipe_name[0] == '\\') { + pipe_name++; + } + + DEBUG(5, ("Connecting to %s pipe.\n", pipe_name)); server_type = lp_parm_const_string(GLOBAL_SECTION_SNUM, "rpc_server", pipe_name, "embedded"); + if (StrCaseCmp(server_type, "embedded") == 0) { status = rpc_pipe_open_internal(tmp_ctx, syntax, server_info, |