The Samba-Bugzilla – Attachment 2865 Details for
Bug 4852
Problem with overwrite file from win98 client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
4852.diff (text/plain), 649 bytes, created by
Volker Lendecke
on 2007-08-15 08:41:04 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2007-08-15 08:41:04 UTC
Size:
649 bytes
patch
obsolete
>Index: source/smbd/reply.c >=================================================================== >--- source/smbd/reply.c (Revision 24458) >+++ source/smbd/reply.c (Arbeitskopie) >@@ -1455,6 +1455,16 @@ > /* We have re-scheduled this call. */ > return -1; > } >+ if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_COLLISION)) { >+ /* >+ * We hit an existing file, and if we're returning DOS >+ * error codes OBJECT_NAME_COLLISION would map to >+ * ERRDOS/183, we need to return ERRDOS/80, see bug >+ * 4852. >+ */ >+ return ERROR_BOTH(NT_STATUS_OBJECT_NAME_COLLISION, >+ ERRDOS, ERRfilexists); >+ } > return ERROR_NT(status); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 4852
: 2865