From Tim Potter: add the DOS error for "file already exists" on a

rename.

svn path=/trunk/; revision=4333
This commit is contained in:
Guy Harris 2001-12-05 00:49:32 +00:00
parent a9c0c1ebbb
commit a17c23a7a2
3 changed files with 5 additions and 2 deletions

View File

@ -913,6 +913,7 @@ Tim Potter <tpot[AT]samba.org> {
extract the FID from them
Use the FID, for DCE RPC-over-SMB, as part of the conversation
matching
Assorted SMB fixes
}
Raghu Angadi <rangadi[AT]inktomi.com> {

View File

@ -2,7 +2,7 @@
* Routines for smb packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
* $Id: packet-smb.c,v 1.177 2001/12/05 00:25:44 guy Exp $
* $Id: packet-smb.c,v 1.178 2001/12/05 00:49:31 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -11754,6 +11754,7 @@ static const value_string DOS_errors[] = {
{SMBE_notify_buf_small, "Buffer too small to return change notify."},
{SMBE_unknownipc, "Unknown IPC Operation"},
{SMBE_noipc, "Don't support ipc"},
{SMBE_alreadyexists, "File already exists"},
{0, NULL}
};

3
smb.h
View File

@ -2,7 +2,7 @@
* Defines for smb packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
* $Id: smb.h,v 1.27 2001/11/28 11:33:55 guy Exp $
* $Id: smb.h,v 1.28 2001/12/05 00:49:32 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -138,6 +138,7 @@
#define SMBE_filexists 80 /* File in operation already exists */
#define SMBE_cannotopen 110 /* Cannot open the file specified */
#define SMBE_unknownlevel 124
#define SMBE_alreadyexists 183 /* File already exists */
#define SMBE_badpipe 230 /* Named pipe invalid */
#define SMBE_pipebusy 231 /* All instances of pipe are busy */
#define SMBE_pipeclosing 232 /* named pipe close in progress */