summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-05-28 16:27:29 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-28 19:51:57 +0200
commit6777e345b1512345e8b74dfe0956982afc59895e (patch)
tree581d50b4b3e641617733cce35c66eb53a88d1720
parent98c14ca61cb372795cb0ccb63430290b57ede086 (diff)
downloadsamba-6777e345b1512345e8b74dfe0956982afc59895e.tar.gz
samba-6777e345b1512345e8b74dfe0956982afc59895e.tar.bz2
samba-6777e345b1512345e8b74dfe0956982afc59895e.zip
s3:rpc_server: return OBJECT_NAME_NOT_FOUND instead of PIPE_NOT_AVAILABLE
metze
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c
index e4172e7252..0c615bdc37 100644
--- a/source3/rpc_server/srv_pipe_hnd.c
+++ b/source3/rpc_server/srv_pipe_hnd.c
@@ -470,7 +470,7 @@ NTSTATUS np_open(TALLOC_CTX *mem_ctx, const char *name,
if (handle->private_data == NULL) {
TALLOC_FREE(handle);
- return NT_STATUS_PIPE_NOT_AVAILABLE;
+ return NT_STATUS_OBJECT_NAME_NOT_FOUND;
}
*phandle = handle;