s3:rpc_server: return OBJECT_NAME_NOT_FOUND instead of PIPE_NOT_AVAILABLE
authorStefan Metzmacher <metze@samba.org>
Mon, 28 May 2012 14:27:29 +0000 (16:27 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 28 May 2012 17:51:57 +0000 (19:51 +0200)
metze

source3/rpc_server/srv_pipe_hnd.c

index e4172e7252d90f4b9620ce2051aa6c39c12a33ef..0c615bdc3708b1914c8b1c6b9d613bdebfde6122 100644 (file)
@@ -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;