The Samba-Bugzilla – Attachment 8102 Details for
Bug 9309
avoid a level 0 DEBUG if tstream_npa_connect_recv fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for v4-0-test
tmp40.diff (text/plain), 1.31 KB, created by
Stefan Metzmacher
on 2012-10-23 11:35:25 UTC
(
hide
)
Description:
Patch for v4-0-test
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2012-10-23 11:35:25 UTC
Size:
1.31 KB
patch
obsolete
>From ac40b6b1dbd1806f8d861d2eb47ad2e5ec69d18e Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Sat, 20 Oct 2012 11:08:19 +0200 >Subject: [PATCH] s3:rpc_server: avoid a level 0 DEBUG if > tstream_npa_connect_recv fails (bug #9309) > >metze > >Autobuild-User(master): Stefan Metzmacher <metze@samba.org> >Autobuild-Date(master): Sat Oct 20 12:56:23 CEST 2012 on sn-devel-104 >(cherry picked from commit d18591c97e1856bb48fd6d288db59065530f3a9b) > >Signed-off-by: Stefan Metzmacher <metze@samba.org> >--- > source3/rpc_server/rpc_ncacn_np.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/source3/rpc_server/rpc_ncacn_np.c b/source3/rpc_server/rpc_ncacn_np.c >index 67176a8..25ad857 100644 >--- a/source3/rpc_server/rpc_ncacn_np.c >+++ b/source3/rpc_server/rpc_ncacn_np.c >@@ -611,7 +611,11 @@ struct np_proxy_state *make_external_rpc_pipe_p(TALLOC_CTX *mem_ctx, > &result->allocation_size); > TALLOC_FREE(subreq); > if (ret != 0) { >- DEBUG(0, ("tstream_npa_connect_recv to %s for pipe %s and " >+ int l = 1; >+ if (errno == ENOENT) { >+ l = 2; >+ } >+ DEBUG(l, ("tstream_npa_connect_recv to %s for pipe %s and " > "user %s\\%s failed: %s\n", > socket_np_dir, pipe_name, session_info_t->session_info->info->domain_name, > session_info_t->session_info->info->account_name, >-- >1.7.9.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
obnox
:
review+
Actions:
View
Attachments on
bug 9309
: 8102