diff options
author | Gerald Carter <jerry@samba.org> | 2002-04-15 13:35:18 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-04-15 13:35:18 +0000 |
commit | 4d917cd8f5dad460a9c63fba823b9bf45eba28d5 (patch) | |
tree | 24c2f65652380a262385050372a9af525110e1ee /source3/smbd/nttrans.c | |
parent | 6d239fc97fb95033d590ee214d1e58f89ea6d269 (diff) | |
download | samba-4d917cd8f5dad460a9c63fba823b9bf45eba28d5.tar.gz samba-4d917cd8f5dad460a9c63fba823b9bf45eba28d5.tar.bz2 samba-4d917cd8f5dad460a9c63fba823b9bf45eba28d5.zip |
merge from SAMBA_2_2
(This used to be commit fedc11cab16dbecfdae858fc48d629b9172c0fb8)
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r-- | source3/smbd/nttrans.c | 2 |
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])) |