diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-10-20 11:08:19 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-10-20 12:56:23 +0200 |
commit | d18591c97e1856bb48fd6d288db59065530f3a9b (patch) | |
tree | 8780cdc278f51d53047db498f6eb22a357e07b63 /source3/rpc_server | |
parent | 3da5d964b9821a589be39ad076ed56000952382b (diff) | |
download | samba-d18591c97e1856bb48fd6d288db59065530f3a9b.tar.gz samba-d18591c97e1856bb48fd6d288db59065530f3a9b.tar.bz2 samba-d18591c97e1856bb48fd6d288db59065530f3a9b.zip |
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
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/rpc_ncacn_np.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/rpc_server/rpc_ncacn_np.c b/source3/rpc_server/rpc_ncacn_np.c index 67176a8c67..25ad8570a2 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, |