DOS error 0xb7 is returned when trying to rename a file to a filename
that already exists:
Index: smb.h
===================================================================
RCS file: /cvsroot/ethereal/smb.h,v
retrieving revision 1.27
diff -u -r1.27 smb.h
--- smb.h 2001/11/28 11:33:55 1.27
+++ smb.h 2001/12/05 00:29:17
@@ -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 */
Index: packet-smb.c
===================================================================
RCS file: /cvsroot/ethereal/packet-smb.c,v
retrieving revision 1.176
diff -u -r1.176 packet-smb.c
--- packet-smb.c 2001/11/29 09:05:22 1.176
+++ packet-smb.c 2001/12/05 00:29:20
@@ -11752,6 +11753,7 @@
{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}
};