diff options
author | Jeremy Allison <jra@samba.org> | 2001-12-18 02:09:57 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-12-18 02:09:57 +0000 |
commit | 2a6eeff2a7a7c8c2ada79a3d1270998287d726e9 (patch) | |
tree | 574bedc1a3be4e787b6b814894f746e8d2e20d79 /source3/smbd/pipes.c | |
parent | 0558e2c4024d419dfb7b77a2eec100f7916831d6 (diff) | |
download | samba-2a6eeff2a7a7c8c2ada79a3d1270998287d726e9.tar.gz samba-2a6eeff2a7a7c8c2ada79a3d1270998287d726e9.tar.xz samba-2a6eeff2a7a7c8c2ada79a3d1270998287d726e9.zip |
Return NT_STATUS_OBJECT_NOT_FOUND or ERRbadpipe if pipe name not found.
Jeremy.
(This used to be commit d5fdb1f096e8db3e9cf7a65ddb75f7cafd1958c0)
Diffstat (limited to 'source3/smbd/pipes.c')
-rw-r--r-- | source3/smbd/pipes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c index 9a911ed0145..cd8a56a5d2a 100644 --- a/source3/smbd/pipes.c +++ b/source3/smbd/pipes.c @@ -67,7 +67,7 @@ int reply_open_pipe_and_X(connection_struct *conn, break; if (pipe_names[i].client_pipe == NULL) - return(ERROR_DOS(ERRSRV,ERRaccess)); + return(ERROR_BOTH(NT_STATUS_OBJECT_NAME_NOT_FOUND,ERRDOS,ERRbadpipe)); /* Strip \PIPE\ off the name. */ pstrcpy(fname, pipe_name + PIPELEN); |