summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-04-15 13:52:26 +0000
committerGerald Carter <jerry@samba.org>2002-04-15 13:52:26 +0000
commit33640a748455bd77696c5e296eb62e11b7711820 (patch)
tree52c521cd9c35f7e4b251335151e18ee72c336cad /source3/smbd
parentd9cfe0f3ebdcf053f79ee0bbba59d4dbe2831145 (diff)
downloadsamba-33640a748455bd77696c5e296eb62e11b7711820.tar.gz
samba-33640a748455bd77696c5e296eb62e11b7711820.tar.bz2
samba-33640a748455bd77696c5e296eb62e11b7711820.zip
merge from SAMBA_2_2
(This used to be commit 305ff4203e7313c7869305c63290b1964ac17f2e)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/nttrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index ed2979b3a4..edee14513c 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -467,7 +467,7 @@ static int nt_open_pipe(char *fname, connection_struct *conn,
/* See if it is one we want to handle. */
if (lp_disable_spoolss() && strequal(fname, "\\spoolss"))
- return(ERROR_DOS(ERRSRV,ERRaccess));
+ return(ERROR_BOTH(NT_STATUS_OBJECT_NAME_NOT_FOUND,ERRDOS,ERRbadpipe));
for( i = 0; known_nt_pipes[i]; i++ )
if( strequal(fname,known_nt_pipes[i]))