summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2014-03-05 13:37:26 +0100
committerDavid Disseldorp <ddiss@samba.org>2014-03-05 16:31:42 +0100
commit7a53bb964166a3091d8013041a1cb3389b999863 (patch)
treec6646566475d11c503d439e1e643e7eb6e3f9fd5 /source3
parent5bd47bb563c3736b9de1a3a93bdf46a498928643 (diff)
downloadsamba-7a53bb964166a3091d8013041a1cb3389b999863.tar.gz
samba-7a53bb964166a3091d8013041a1cb3389b999863.tar.xz
samba-7a53bb964166a3091d8013041a1cb3389b999863.zip
rpc_server: change unsupported pipe error
smbd currently prints the following level 0 error when a client attempts to connect to an unsupported named pipe (e.g. browser): ERROR! 'browser' is not a registred pipe This change reduces the severity of the error (0->2) and fixes a couple of typos. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Wed Mar 5 16:31:42 CET 2014 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c
index a05fafd4b0..63a5fcdfa9 100644
--- a/source3/rpc_server/srv_pipe_hnd.c
+++ b/source3/rpc_server/srv_pipe_hnd.c
@@ -98,11 +98,10 @@ NTSTATUS np_open(TALLOC_CTX *mem_ctx, const char *name,
break;
case RPC_SERVICE_MODE_EMBEDDED:
- /* Check if we this daemon handles this pipe */
+ /* Check if we handle this pipe internally */
ok = is_known_pipename(name, &syntax);
if (!ok) {
- DEBUG(0, ("ERROR! '%s' is not a registred pipe!\n",
- name));
+ DEBUG(2, ("'%s' is not a registered pipe!\n", name));
talloc_free(handle);
return NT_STATUS_OBJECT_NAME_NOT_FOUND;
}